summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/GameView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 84c305b..8d53439 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1088,7 +1088,7 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
if(colourRValue->IsFocused() || colourGValue->IsFocused() || colourBValue->IsFocused() || colourAValue->IsFocused())
return;
- if(introText)
+ if(introText > 50)
{
introText = 50;
}
@@ -1385,7 +1385,7 @@ void GameView::DoMouseMove(int x, int y, int dx, int dy)
void GameView::DoMouseDown(int x, int y, unsigned button)
{
- if(introText)
+ if(introText > 50)
introText = 50;
if(c->MouseDown(x, y, button))
Window::DoMouseDown(x, y, button);