minor code tweaks

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5228 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-06-25 19:26:21 +00:00
parent 201ba99c79
commit 1bb161a0cb
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -311,7 +311,8 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
if(prot!=CUR_PROTOCOL_VERSION && !(watchingdemo && prot == -PROTOCOL_VERSION))
{
conoutf(_("\f3you are using a different game protocol (you: %d, server: %d)"), CUR_PROTOCOL_VERSION, prot);
disconnect();
if(watchingdemo) conoutf("breaking loop : \f3this demo is using a different protocol\f5 : end it now!"); // SVN-WiP-bug: causes endless retry loop else!
else disconnect();
return;
}
sessionid = getint(p);