Skip to content

Commit

Permalink
Fix 3ds build (wrong var type in WaitForSingleMovement)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Sep 2, 2024
1 parent 5d20c6d commit 3073f37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game_interpreter_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,9 +793,9 @@ bool Game_Interpreter_Map::CommandEasyRpgWaitForSingleMovement(lcf::rpg::EventCo

_state.easyrpg_parameters.resize(3);

int& event_id = _state.easyrpg_parameters[0];
int& failure_limit = _state.easyrpg_parameters[1];
int& output_var = _state.easyrpg_parameters[2];
auto& event_id = _state.easyrpg_parameters[0];
auto& failure_limit = _state.easyrpg_parameters[1];
auto& output_var = _state.easyrpg_parameters[2];

if (!_state.easyrpg_active) {
event_id = ValueOrVariable(com.parameters[0], com.parameters[1]);
Expand Down

0 comments on commit 3073f37

Please sign in to comment.