diff options
Diffstat (limited to 'src/game/GameView.cpp')
| -rw-r--r-- | src/game/GameView.cpp | 2 |
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; } |
