X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=28a53959b9508811b54e76c852f68eeb2c00abb5;hb=1994d4975f864a17540733a03a811a962083039a;hp=2e3cd8303aff75a4b43154f37f172671104dc70a;hpb=4ee4eeed40f5f6a5e1811608ca53b2b8bdae5926;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 2e3cd83..28a5395 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -1159,7 +1159,7 @@ static void cmd_dispatch(Game *game, const char *cmd) } /********************> Tick() <*****/ -extern void ScreenShot(const char * fname); +extern bool save_image(const char * fname); void Screenshot (void) { char temp[1024]; @@ -1172,8 +1172,8 @@ void Screenshot (void) #else mkdir("Screenshots", S_IRWXU); #endif - - ScreenShot(temp); + + save_image(temp); } @@ -2738,7 +2738,7 @@ void Game::Tick() gameon=1; OPENAL_SetPaused(channels[stream_music3], true); } - if(Input::Button()&&!oldbutton&&(selected-7>=accountactive->getCampaignChoicesMade())){//selected>=7&&(selected-7<=campaignnumchoices)){ + if(Input::Button()&&!oldbutton&&(selected-7>=accountactive->getCampaignChoicesMade())){ fireSound(); flash();