]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
The damage bar now appear in the option menu
[lugaru.git] / Source / GameTick.cpp
index 00bcdc400cc1d9c6f288cf00091cbc95f8fbcf09..2328eb8f0ce50367d660c7126c2b856466d8ab2a 100644 (file)
@@ -3110,6 +3110,9 @@ void      Game::Tick()
                                mainmenu=18;
                                keyselect = -1;
                        }
+                       if(Button() && !oldbutton && selected == 13) {
+                               showdamagebar=!showdamagebar;
+                       }
                        if(Button()&&!oldbutton&&selected==8){
                                float gLoc[3]={0,0,0};
                                float vel[3]={0,0,0};