Android tweeks
memory freeing tweeks batch data rearranged a little (to try to reduce memory). RBSP/FBSP fixed. lightstyles now supported. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4059 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
180432523d
commit
fe23d72d69
112 changed files with 5444 additions and 2443 deletions
|
@ -259,6 +259,22 @@ void SV_Shutdown (void)
|
|||
if (sv.mvdrecording)
|
||||
SV_MVDStop (0, false);
|
||||
|
||||
if (svs.entstatebuffer.entities)
|
||||
{
|
||||
BZ_Free(svs.entstatebuffer.entities);
|
||||
memset(&svs.entstatebuffer.entities, 0, sizeof(svs.entstatebuffer.entities));
|
||||
}
|
||||
if (sv_staticentities)
|
||||
{
|
||||
sv_max_staticentities = 0;
|
||||
sv.num_static_entities = 0;
|
||||
BZ_Free(sv_staticentities);
|
||||
sv_staticentities = NULL;
|
||||
}
|
||||
|
||||
|
||||
SV_GibFilterPurge();
|
||||
|
||||
NET_Shutdown ();
|
||||
#ifdef WEBSERVER
|
||||
IWebShutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue