experimental compatibility mode for 1.1.0.4 demos

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6848 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
sireus
2012-06-29 14:19:40 +00:00
parent 55a68dde53
commit 66bcbbbabe
8 changed files with 64 additions and 25 deletions
-2
View File
@@ -8,7 +8,6 @@ VAR(connected, 1, 0, 0);
ENetHost *clienthost = NULL;
ENetPeer *curpeer = NULL, *connpeer = NULL;
int connmillis = 0, connattempts = 0, discmillis = 0;
bool watchingdemo = false;
SVAR(curdemofile, "n/a");
extern bool clfail, cllock;
extern int searchlan;
@@ -66,7 +65,6 @@ void connectserv_(const char *servername, const char *serverport = NULL, const c
{
const char *defaultport = "28763";
if (!serverport) serverport = defaultport;
extern void enddemoplayback();
if(watchingdemo) enddemoplayback();
if(!clfail && cllock && searchlan<2) return;