diff options
-rw-r--r-- | src/p_mobj.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/p_mobj.c b/src/p_mobj.c index bb72166d..15025139 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -683,6 +683,11 @@ void P_SpawnPlayer (mapthing_t* mthing) int i; + if (mthing->type == 0) + { + return; + } + // not playing? if (!playeringame[mthing->type-1]) return; |