Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libcommon: Cleanup
  • Loading branch information
danij-deng committed Jun 21, 2012
1 parent acf37df commit 5d97dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions doomsday/plugins/common/src/g_game.c
Expand Up @@ -2043,12 +2043,6 @@ void G_StartNewInit(void)
// Default the player start spot group to 0
rebornPosition = 0;
}

void G_StartNewGame(skillmode_t skill)
{
G_StartNewInit();
G_InitNew(skill, 0, P_TranslateMap(0)); // Hexen has translated map numbers.
}
#endif

/**
Expand Down Expand Up @@ -2567,7 +2561,8 @@ void G_DoNewGame(void)
}
G_InitNew(dSkill, dEpisode, dMap);
#else
G_StartNewGame(dSkill);
G_StartNewInit();
G_InitNew(dSkill, 0, P_TranslateMap(0)); // Hexen has translated map numbers.
#endif
G_SetGameAction(GA_NONE);
}
Expand Down
1 change: 0 additions & 1 deletion doomsday/plugins/jhexen/include/g_game.h
Expand Up @@ -130,7 +130,6 @@ void G_DoPlayDemo(void);
void G_PlayDemo(char* name);
void G_TimeDemo(char* name);
void G_LeaveMap(uint newMap, uint entryPoint, boolean secretExit);
void G_StartNewGame(skillmode_t skill);
void G_StartNewInit(void);
void G_WorldDone(void);
void G_ScreenShot(void);
Expand Down

0 comments on commit 5d97dca

Please sign in to comment.