- Removed FlatAngle. This will come back hopefully in another commit sometime in the future.
This commit is contained in:
parent
f41dcc75d1
commit
0bf7c3e362
7 changed files with 2 additions and 41 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue