Skip to content

Commit

Permalink
Fix typo that was always calling SetXOffset even in SetYOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
ZZYZX authored and madame-rachelle committed Sep 20, 2022
1 parent a4a4e4e commit 662027f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/vmthunks.cpp
Expand Up @@ -562,7 +562,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_Sector, SetXOffset, SetXOffset)
PARAM_SELF_STRUCT_PROLOGUE(sector_t);
PARAM_INT(pos);
PARAM_FLOAT(o);
self->SetXOffset(pos, o);
self->SetYOffset(pos, o);
return 0;
}

Expand Down

0 comments on commit 662027f

Please sign in to comment.