Extra bloaty junk to modernise stuff a bit. https://fte.triptohell.info/moodles/qss/
Find a file
sezero 2f4eac979e Loadgame_f() may go past sv.num_edicts, but it does not go through
ED_Alloc(), therefore such ents will have uninitialized members.
This used to lead to bad crashes with e.g. Rubicon Rumble Pack maps
since svn r1286 when we began allocating sv.edicts using malloc and
only zero-filling when necessary.  So, check against sv.num_edicts
and zero-fill the ent properly when necessary.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1318 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 16:04:25 +00:00
quakespasm Loadgame_f() may go past sv.num_edicts, but it does not go through 2016-06-24 16:04:25 +00:00