summaryrefslogtreecommitdiff
path: root/src/p_local.h
diff options
context:
space:
mode:
authorSimon Howard2007-09-14 22:20:08 +0000
committerSimon Howard2007-09-14 22:20:08 +0000
commit5ac7ac324198351603d07f8895a53ec906653ff7 (patch)
tree7b673bd717981b2fd60ab8a89202b2329756917c /src/p_local.h
parent056415e2d68e261583a6fcfe1df24d5724ef91a8 (diff)
downloadchocolate-doom-5ac7ac324198351603d07f8895a53ec906653ff7.tar.gz
chocolate-doom-5ac7ac324198351603d07f8895a53ec906653ff7.tar.bz2
chocolate-doom-5ac7ac324198351603d07f8895a53ec906653ff7.zip
Add P_SubstNullMobj, substitute NULL mobjs for a dummy mobj where
mo->target is not checked for NULL. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 971
Diffstat (limited to 'src/p_local.h')
-rw-r--r--src/p_local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p_local.h b/src/p_local.h
index d58a7708..2e602ad5 100644
--- a/src/p_local.h
+++ b/src/p_local.h
@@ -119,6 +119,7 @@ P_SpawnMobj
mobjtype_t type );
void P_RemoveMobj (mobj_t* th);
+mobj_t* P_SubstNullMobj (mobj_t* th);
boolean P_SetMobjState (mobj_t* mobj, statenum_t state);
void P_MobjThinker (mobj_t* mobj);