]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameTick.cpp
Make animation types an enum, move to a separate file
[lugaru.git] / Source / GameTick.cpp
index 6ea23c2e87d01d1d27e4e8191fbd8b533d69ba5e..2adf41e1ca63093be7c6fdd18a73424c5fe978e5 100644 (file)
@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "openal_wrapper.h"
 #include "Settings.h"
 #include "Input.h"
+#include "Animation.h"
 
 using namespace std;
 
@@ -2726,7 +2727,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();