mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fix it
This commit is contained in:
parent
eb282c0d11
commit
148d75251f
2 changed files with 2 additions and 12 deletions
|
@ -567,16 +567,6 @@ void P_DrawSplash (int count, const DVector3 &pos, DAngle angle, int kind)
|
|||
}
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, DrawSplash)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_INT(count);
|
||||
PARAM_FLOAT(angle);
|
||||
PARAM_INT(kind);
|
||||
P_DrawSplash(count, self->Pos(), angle, kind);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void P_DrawSplash2 (int count, const DVector3 &pos, DAngle angle, int updown, int kind)
|
||||
{
|
||||
int color1, color2, zadd;
|
||||
|
|
|
@ -532,12 +532,12 @@ DEFINE_ACTION_FUNCTION_NATIVE(AActor, Vec3Offset, Vec3Offset)
|
|||
ACTION_RETURN_VEC3(self->Vec3Offset(x, y, z, absolute));
|
||||
}
|
||||
|
||||
static void PosRelative(AActor *self, sector_t *sec, DVector3 *result)
|
||||
static void ZS_PosRelative(AActor *self, sector_t *sec, DVector3 *result)
|
||||
{
|
||||
*result = self->PosRelative(sec);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, PosRelative, PosRelative)
|
||||
DEFINE_ACTION_FUNCTION_NATIVE(AActor, PosRelative, ZS_PosRelative)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_POINTER(sec, sector_t);
|
||||
|
|
Loading…
Reference in a new issue