- Fixed uninitialized variable in A_AlertMonsters.

This commit is contained in:
Braden Obrzut 2013-08-27 20:42:35 -04:00
parent 0fb37ca5f1
commit 0a16e9a256
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_AlertMonsters)
ACTION_PARAM_FIXED(maxdist, 0); ACTION_PARAM_FIXED(maxdist, 0);
ACTION_PARAM_INT(Flags, 1); ACTION_PARAM_INT(Flags, 1);
AActor * target; AActor * target = NULL;
AActor * emitter = self; AActor * emitter = self;
if (self->player != NULL || (Flags & AMF_TARGETEMITTER)) if (self->player != NULL || (Flags & AMF_TARGETEMITTER))