From e3a7b626ab6e8c97f8519c1bcca85667da6a265a Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 26 Oct 2011 16:05:23 +0100 Subject: [PATCH] Revert "Revert "F1 to bring up intro message"" This reverts commit 8c25ef733c9fc1424a14e98ed20d2400bdfa5e3a. --- src/main.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 3cccd434d..ed5b91cfa 100644 --- a/src/main.c +++ b/src/main.c @@ -2415,10 +2415,22 @@ int main(int argc, char *argv[]) if (sdl_key==SDLK_SPACE) sys_pause = !sys_pause; if (sdl_key=='u') - aheat_enable = !aheat_enable; - if (sdl_key=='h') + if (sdl_key=='h' && !(sdl_mod & KMOD_LCTRL)) + { hud_enable = !hud_enable; + } + if (sdl_key==SDLK_F1 || (sdl_key=='h' && (sdl_mod & KMOD_LCTRL))) + { + if(!it) + { + it = 8047; + } + else + { + it = 0; + } + } if (sdl_key=='n') pretty_powder = !pretty_powder; if (sdl_key=='p')