cleanup p_mobj + more safety
big cleanups and more mobj checks needs to be rechecked since its quite a lot
This commit is contained in:
1 parent
49717e1129
commit
a9d0afc3e2
2 files changed
+1048
-864
No files matched your search
@@ -107,6 +107,9 @@ void P_DoNightsScore(player_t *player)
|
||||
|
||||
dummymo = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z+player->mo->height/2, MT_NIGHTSCORE);
|
||||
|
||||
if (P_MobjWasRemovedCompat(dummymo))
|
||||
return;
|
||||
|
||||
if (player->bot)
|
||||
player = &players[consoleplayer];
|
||||
|
||||
|
||||
+1045
-864
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user