Skip to content

Commit

Permalink
more linux fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintWish committed Sep 27, 2024
1 parent 9022230 commit 87240a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/shared/ms/scriptcmds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<unsigned long>(reset_to_iteration);
i = reset_to_iteration;
SetVar("MSC_RESET_LOOP", "-5");
}
Expand Down

0 comments on commit 87240a5

Please sign in to comment.