From 3179b2f39303db8896677d69427a73eeae3adfc8 Mon Sep 17 00:00:00 2001 From: johns <> Date: Fri, 21 Jun 2002 17:48:42 +0000 Subject: [PATCH] Removed old unused code. --- src/game/campaign.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/game/campaign.cpp b/src/game/campaign.cpp index 9bc8a08ed..093563c54 100644 --- a/src/game/campaign.cpp +++ b/src/game/campaign.cpp @@ -162,36 +162,6 @@ global void PlayCampaign(const char* name) GameResult=GameNoResult; strcpy(CurrentMapPath, filename); - -#if 0 - // NOW DONE in create game? - - // FIXME: Johns is this here needed? Can the map loaded in create game? - // ARI: Yes - This switches the menu gfx.. from def. Orc to Human, etc - InitUnitTypes(); - UpdateStats(); - // ARI: And this finally loads it. - // For an alternative Method see network games.. - // That way it should work finally.. - - strcpy(CurrentMapPath, filename); - s = NULL; - // FIXME: LibraryFile here? - if (filename[0] != '/' && filename[0] != '.') { - s = filename = strdcat3(FreeCraftLibPath, "/", filename); - } - - // - // Load the map. - // - InitUnitTypes(); - UpdateStats(); - LoadMap(filename, &TheMap); - - if (s) { - free(s); - } -#endif } /**