From be27e68fc4579ddc67d053e9675212dcd0c8b0e7 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 27 Oct 2012 02:37:40 +0000 Subject: [PATCH] - Fixed: A_BrainSpit's parameter is optional. SVN r3915 (scripting) --- src/g_doom/a_bossbrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_doom/a_bossbrain.cpp b/src/g_doom/a_bossbrain.cpp index 7f0ecba15..59191032c 100644 --- a/src/g_doom/a_bossbrain.cpp +++ b/src/g_doom/a_bossbrain.cpp @@ -107,7 +107,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_BrainDie) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BrainSpit) { PARAM_ACTION_PROLOGUE; - PARAM_CLASS(spawntype, AActor); + PARAM_CLASS_OPT(spawntype, AActor) { spawntype = NULL; } DSpotState *state = DSpotState::GetSpotState(); AActor *targ;