mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
This should fix the too many sprites spawned issue in single player
git-svn-id: https://svn.eduke32.com/eduke32@7288 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9a23ea148e
commit
89df4950d4
1 changed files with 7 additions and 0 deletions
|
@ -4900,6 +4900,13 @@ void Net_DeleteSprite(int32_t spritenum)
|
||||||
|
|
||||||
// [75] for most cases, only the server deletes sprites, clients just set their sprites invisible and to
|
// [75] for most cases, only the server deletes sprites, clients just set their sprites invisible and to
|
||||||
// the null picnum so no CON gets executed
|
// the null picnum so no CON gets executed
|
||||||
|
|
||||||
|
if ((!g_netServer) && (!g_netClient))
|
||||||
|
{
|
||||||
|
deletesprite(spritenum);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (g_netClient)
|
if (g_netClient)
|
||||||
{
|
{
|
||||||
sprite[spritenum].cstat = 32768;
|
sprite[spritenum].cstat = 32768;
|
||||||
|
|
Loading…
Reference in a new issue