From 5d97dcab4ca841ffb433dbc2ffabc088cc609a11 Mon Sep 17 00:00:00 2001 From: danij Date: Fri, 22 Jun 2012 00:06:03 +0100 Subject: [PATCH] libcommon: Cleanup --- doomsday/plugins/common/src/g_game.c | 9 ++------- doomsday/plugins/jhexen/include/g_game.h | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/doomsday/plugins/common/src/g_game.c b/doomsday/plugins/common/src/g_game.c index bf330699b1..848432a56a 100644 --- a/doomsday/plugins/common/src/g_game.c +++ b/doomsday/plugins/common/src/g_game.c @@ -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 /** @@ -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); } diff --git a/doomsday/plugins/jhexen/include/g_game.h b/doomsday/plugins/jhexen/include/g_game.h index fc19dd288c..710a19b8e1 100644 --- a/doomsday/plugins/jhexen/include/g_game.h +++ b/doomsday/plugins/jhexen/include/g_game.h @@ -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);