Skip to content

Commit

Permalink
Fixed error building jdoom as P_MoveThingsOutOfWalls is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Dec 18, 2011
1 parent 6c2ef74 commit f042f29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doomsday/plugins/common/include/p_start.h
Expand Up @@ -140,7 +140,11 @@ extern int bossSpotCount;
void P_Init(void);
mobjtype_t P_DoomEdNumToMobjType(int doomEdNum);
void P_SpawnPlayers(void);
void P_MoveThingsOutOfWalls();

#if __JHERETIC__ || __JHEXEN__
void P_MoveThingsOutOfWalls(void);
#endif

#if __JHERETIC__
void P_TurnGizmosAwayFromDoors(void);
#endif
Expand Down
2 changes: 2 additions & 0 deletions doomsday/plugins/common/src/p_mapsetup.c
Expand Up @@ -1081,7 +1081,9 @@ static void P_FinalizeMap(void)
#endif

// Do some fine tuning with mobj placement and orientation.
#if __JHERETIC__ || __JHEXEN__
P_MoveThingsOutOfWalls();
#endif
#if __JHERETIC__
P_TurnGizmosAwayFromDoors();
#endif
Expand Down

0 comments on commit f042f29

Please sign in to comment.