summary refs log tree commit diff
path: root/src/GameTick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r--src/GameTick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameTick.cpp b/src/GameTick.cpp
index 8adbbfe..c4fff12 100644
--- a/src/GameTick.cpp
+++ b/src/GameTick.cpp
@@ -436,7 +436,7 @@ void Game::Tick()
 
 	if (timeremaining <= 0) {
 		score += ++mission * 50 + 100;
-		highscore = max(score, highscore);
+		highscore = std::max(score, highscore);
 
 		flashamount = flashg = 1;
 		flashr = flashb = 0;