diff options
author | Simon Howard | 2007-09-14 22:20:08 +0000 |
---|---|---|
committer | Simon Howard | 2007-09-14 22:20:08 +0000 |
commit | 5ac7ac324198351603d07f8895a53ec906653ff7 (patch) | |
tree | 7b673bd717981b2fd60ab8a89202b2329756917c /src/p_local.h | |
parent | 056415e2d68e261583a6fcfe1df24d5724ef91a8 (diff) | |
download | chocolate-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.h | 1 |
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); |