summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 5b52424..fadbaea 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1468,7 +1468,7 @@ void GameView::OnTick(float dt)
}
if(introText)
{
- introText -= int(dt)>0?std::min(int(dt), 5):1;
+ introText -= int(dt)>0?((int)dt < 5? dt:5):1;
if(introText < 0)
introText = 0;
}