mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- fixed wrong native call for Actor.Vec2Offset()
https://forum.zdoom.org/viewtopic.php?t=64810
This commit is contained in:
parent
688f130af6
commit
64ce71eae2
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2OffsetZ, Vec2OffsetZ)
|
|||
|
||||
static void Vec2Offset(AActor *self, double x, double y, bool absolute, DVector2 *result)
|
||||
{
|
||||
*result = self->Vec2OffsetZ(x, y, absolute);
|
||||
*result = self->Vec2Offset(x, y, absolute);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec2Offset, Vec2Offset)
|
||||
|
|
Loading…
Reference in a new issue