Fix typo that was always calling SetXOffset even in SetYOffset

This commit is contained in:
ZZYZX 2022-09-04 17:07:38 +03:00 committed by Rachael Alexanderson
parent a4a4e4e9f9
commit 662027f429

View file

@ -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;
}