From 2ec041b10eb8d1963a208b41ea6fb66128926011 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 19 Mar 2019 17:08:19 +0000 Subject: [PATCH] Use correct type in range-based loop git-svn-id: https://svn.eduke32.com/eduke32@7407 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index 9faf3f2e6..909bee1cb 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -6601,7 +6601,7 @@ MAIN_LOOP_RESTART: lockclock = 0; myplayer.fta = 0; - for (int & q : user_quote_time) + for (int32_t & q : user_quote_time) q = 0; Menu_Change(MENU_MAIN); @@ -6861,7 +6861,7 @@ int G_DoMoveThings(void) if (g_RTSPlaying > 0) g_RTSPlaying--; - for (int & i : user_quote_time) + for (int32_t & i : user_quote_time) { if (i) {