mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- fixed the direct native variant of DynamicLight.SetOffset.
This commit is contained in:
parent
3712c6beda
commit
bbe00562eb
1 changed files with 2 additions and 2 deletions
|
@ -426,9 +426,9 @@ void ADynamicLight::SetOffset(const DVector3 &pos)
|
|||
UpdateLocation();
|
||||
}
|
||||
|
||||
static void SetOffset(ADynamicLight *self, const DVector3 &pos)
|
||||
static void SetOffset(ADynamicLight *self, double x, double y, double z)
|
||||
{
|
||||
self->SetOffset(pos);
|
||||
self->SetOffset(DVector3(x, y, z));
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, SetOffset, SetOffset)
|
||||
|
|
Loading…
Reference in a new issue