From 87240a5ddc9cde6ecafe2ad1e1ebae1ccbe0c1d1 Mon Sep 17 00:00:00 2001 From: Saint Wish <6036821+SaintWish@users.noreply.github.com> Date: Thu, 26 Sep 2024 23:53:29 -0500 Subject: [PATCH] more linux fixes --- src/game/shared/ms/scriptcmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/shared/ms/scriptcmds.cpp b/src/game/shared/ms/scriptcmds.cpp index f3b90c8..0956c3d 100644 --- a/src/game/shared/ms/scriptcmds.cpp +++ b/src/game/shared/ms/scriptcmds.cpp @@ -2308,7 +2308,7 @@ bool CScript::ScriptCmd_CallEvent(SCRIPT_EVENT &Event, scriptcmd_t &Cmd, msstrin { //might not work without changing this loop to a while int reset_to_iteration = atoi(GetScriptVar("MSC_RESET_LOOP")); - m.m_Iteration = unsigned long(reset_to_iteration); + m.m_Iteration = static_cast(reset_to_iteration); i = reset_to_iteration; SetVar("MSC_RESET_LOOP", "-5"); }