16 minor fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4153 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -260,7 +260,7 @@ void addmsg(int type, const char *fmt, ...)
|
||||
va_end(args);
|
||||
}
|
||||
int num = nums?0:numi, msgsize = msgsizelookup(type);
|
||||
if(msgsize && num!=msgsize) { s_sprintfd(s)("inconsistent msg size for %d (%d != %d)", type, num, msgsize); fatal(s); }
|
||||
if(msgsize && num!=msgsize) { fatal("inconsistent msg size for %d (%d != %d)", type, num, msgsize); }
|
||||
int len = p.length();
|
||||
messages.add(len&0xFF);
|
||||
messages.add((len>>8)|(reliable ? 0x80 : 0));
|
||||
|
||||
Reference in New Issue
Block a user