From 75a142600403dac63abc5cc15fbaf9e3a8376e13 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 16 Apr 2006 00:59:41 +0000 Subject: Disable some unused code (code used in network play) to bring the plugin size back down to under 512KB on the ipod video - more work needs to be done to further decrease the plugin size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9683 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/g_game.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/plugins/doom/g_game.c b/apps/plugins/doom/g_game.c index 426ab1ca13..1029dad7bb 100644 --- a/apps/plugins/doom/g_game.c +++ b/apps/plugins/doom/g_game.c @@ -667,6 +667,7 @@ boolean G_Responder (event_t* ev) // // killough 11/98: don't autorepeat spy mode switch +#if 0 if (ev->data1 == key_spy && netgame && (demoplayback || !deathmatch) && gamestate == GS_LEVEL) { @@ -686,6 +687,7 @@ boolean G_Responder (event_t* ev) } return true; } +#endif // any other key pops up menu if in demos // @@ -1183,6 +1185,8 @@ void G_DoReborn (int playernum) { if (!netgame) gameaction = ga_loadlevel; // reload the level from scratch + (void)playernum; +#if 0 else { // respawn at the start int i; @@ -1217,6 +1221,7 @@ void G_DoReborn (int playernum) } P_SpawnPlayer (&playerstarts[playernum]); } +#endif } // DOOM Par Times -- cgit v1.2.3