- fixed memory leak in DEM_NETEVENT.

- added handling for DEM_NETEVENT to SkipCommand.
- keep the data of DEM_NETEVENT at a fixed length to simplify handling.
This commit is contained in:
Christoph Oelckers 2017-02-27 02:31:19 +01:00
commit 720e05d131
2 changed files with 8 additions and 3 deletions

View file

@ -1139,7 +1139,7 @@ CCMD(netevent)
Net_WriteByte(DEM_NETEVENT);
Net_WriteString(argv[1]);
Net_WriteByte(argn);
for (int i = 0; i < argn; i++)
for (int i = 0; i < 3; i++)
Net_WriteLong(arg[i]);
}
}