mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
Try not to allow anyone to crash us with corrupt mvds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@618 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
95875ecb10
commit
1719ea7dc6
1 changed files with 2 additions and 1 deletions
|
@ -1402,7 +1402,8 @@ void NPP_MVDFlush(void)
|
|||
v = buffer[2] | (buffer[3]<<8) | (buffer[4]<<16) | (buffer[5]<<24);
|
||||
s = buffer[1];
|
||||
|
||||
sv.recordedplayer[sv.lastto].stats[s] = v;
|
||||
if (sv.lastto < 32) //dem_multicast could be used at the wrong time...
|
||||
sv.recordedplayer[sv.lastto].stats[s] = v;
|
||||
|
||||
ignoreprotocol=true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue