diff options
author | Dave Chapman <dave@dchapman.com> | 2006-04-16 00:59:41 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-04-16 00:59:41 +0000 |
commit | 75a142600403dac63abc5cc15fbaf9e3a8376e13 (patch) | |
tree | af33ef0cadefc9096acf8d1a41d77bea603f7088 | |
parent | 4e2a74c2b4feb8ce347438f81629a9a051d9a647 (diff) |
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
-rw-r--r-- | apps/plugins/doom/g_game.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |