- Removed FlatAngle. This will come back hopefully in another commit sometime in the future.

This commit is contained in:
MajorCooke 2016-05-01 17:19:39 -05:00
commit 0bf7c3e362
7 changed files with 2 additions and 41 deletions

View file

@ -6882,24 +6882,3 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FaceMovementDirection)
ACTION_RETURN_BOOL(true);
}
//===========================================================================
//
// A_SetFlatAngle
//
// Set actor's flat angle (in degrees). GZDoom only. Requires the
// (PITCH)FLATSPRITE flag to have any visible effect.
//
//===========================================================================
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetFlatAngle)
{
PARAM_ACTION_PROLOGUE;
PARAM_FLOAT_OPT(flatangle) { flatangle = 0; }
PARAM_INT_OPT(ptr) { ptr = AAPTR_DEFAULT; }
AActor *ref = COPY_AAPTR(self, ptr);
if (ref != NULL)
{
ref->FlatAngle = flatangle;
}
return 0;
}