Skip to content

Commit

Permalink
Added P_UpdateMobjFlags()
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 27, 2003
1 parent c28bc4c commit d9a3fce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/Src/jDoom/p_mobj.c
Expand Up @@ -15,6 +15,9 @@
// for more details.
//
// $Log$
// Revision 1.8 2003/06/27 20:24:13 skyjake
// Added P_UpdateMobjFlags()
//
// Revision 1.7 2003/06/23 08:09:25 skyjake
// Smooth corpse fade translucency
//
Expand Down Expand Up @@ -542,6 +545,8 @@ void P_MobjThinker (mobj_t* mobj)
if(mobj->type == MT_SHADOWS)
mobj->selector = mobj->selector & ~DDMOBJ_SELECTOR_MASK | 1;

P_UpdateMobjFlags(mobj);

// The first three bits of the selector special byte contain a
// relative health level.
P_UpdateHealthBits(mobj);
Expand Down
3 changes: 3 additions & 0 deletions doomsday/Src/jHeretic/P_mobj.c
Expand Up @@ -790,6 +790,9 @@ void P_MobjThinker(mobj_t *mobj)
// Remote mobjs are handled separately.
return;
}

P_UpdateMobjFlags(mobj);

// The first three bits of the selector special byte contain a
// relative health level.
P_UpdateHealthBits(mobj);
Expand Down

0 comments on commit d9a3fce

Please sign in to comment.