- Fixed compilation warning in GameStateShop.cpp
- Added a call to input reset after each update in the Qt frontends to avoid strange auto-keypress - Removed tutorial display in AI vs AI (test AI mode) - Commit Qt project with latest buttons files - Added a small isHuman method to the Player class
This commit is contained in:
@@ -835,7 +835,8 @@ void ActionStack::Update(float dt)
|
||||
{
|
||||
//This is a hack to avoid updating the stack while tuto messages are being shown
|
||||
//Ideally, the tuto messages should be moved to a layer above this one
|
||||
if (getCurrentTutorial())
|
||||
//No need for Tuto when no human in game
|
||||
if (getCurrentTutorial() && (observer->players[0]->isHuman() || observer->players[1]->isHuman() ) )
|
||||
return;
|
||||
|
||||
askIfWishesToInterrupt = NULL;
|
||||
|
||||
@@ -28,7 +28,6 @@ float GameStateShop::_y4[] = { 169, 188, 250, 182, 182, 168, 220, 208, 198, 259,
|
||||
|
||||
namespace
|
||||
{
|
||||
float kGamepadIconSize = 0.5f;
|
||||
std::string kOtherCardsString(": Other cards");
|
||||
std::string kCreditsString("Credits: ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user