- Fixed: A_CustomMissile's pitch argument is an angle, not an int.

SVN r3909 (scripting)
This commit is contained in:
Randy Heit 2012-10-26 20:12:55 +00:00
parent aade32a749
commit 83480fd7f3

View file

@ -989,7 +989,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomMissile)
PARAM_INT_OPT (spawnofs_xy) { spawnofs_xy = 0; } PARAM_INT_OPT (spawnofs_xy) { spawnofs_xy = 0; }
PARAM_ANGLE_OPT (angle) { angle = 0; } PARAM_ANGLE_OPT (angle) { angle = 0; }
PARAM_INT_OPT (flags) { flags = 0; } PARAM_INT_OPT (flags) { flags = 0; }
PARAM_INT_OPT (pitch) { pitch = 0; } PARAM_ANGLE_OPT (pitch) { pitch = 0; }
int aimmode = flags & CMF_AIMMODE; int aimmode = flags & CMF_AIMMODE;