From 83480fd7f3779b73df41731ee2e9a4615101af25 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 26 Oct 2012 20:12:55 +0000 Subject: [PATCH] - Fixed: A_CustomMissile's pitch argument is an angle, not an int. SVN r3909 (scripting) --- src/thingdef/thingdef_codeptr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index be9b47173..e1d9f230d 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -989,7 +989,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomMissile) PARAM_INT_OPT (spawnofs_xy) { spawnofs_xy = 0; } PARAM_ANGLE_OPT (angle) { angle = 0; } PARAM_INT_OPT (flags) { flags = 0; } - PARAM_INT_OPT (pitch) { pitch = 0; } + PARAM_ANGLE_OPT (pitch) { pitch = 0; } int aimmode = flags & CMF_AIMMODE;