mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Fixed uninitialized variable in A_AlertMonsters.
This commit is contained in:
parent
0fb37ca5f1
commit
0a16e9a256
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_AlertMonsters)
|
|||
ACTION_PARAM_FIXED(maxdist, 0);
|
||||
ACTION_PARAM_INT(Flags, 1);
|
||||
|
||||
AActor * target;
|
||||
AActor * target = NULL;
|
||||
AActor * emitter = self;
|
||||
|
||||
if (self->player != NULL || (Flags & AMF_TARGETEMITTER))
|
||||
|
|
Loading…
Reference in a new issue