- Fixed: A_BrainSpit's parameter is optional.

SVN r3915 (scripting)
This commit is contained in:
Randy Heit 2012-10-27 02:37:40 +00:00
parent e6b150bab9
commit be27e68fc4

View file

@ -107,7 +107,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_BrainDie)
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BrainSpit) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_BrainSpit)
{ {
PARAM_ACTION_PROLOGUE; PARAM_ACTION_PROLOGUE;
PARAM_CLASS(spawntype, AActor); PARAM_CLASS_OPT(spawntype, AActor) { spawntype = NULL; }
DSpotState *state = DSpotState::GetSpotState(); DSpotState *state = DSpotState::GetSpotState();
AActor *targ; AActor *targ;