diff --git a/src/game/chraicommands.c b/src/game/chraicommands.c index efcbf5ecf..805fd739c 100644 --- a/src/game/chraicommands.c +++ b/src/game/chraicommands.c @@ -5948,7 +5948,7 @@ bool aiSetTarget(void) */ bool aiIfPresetsTargetIsNotMyTarget(void) { - s32 mypresetchrstarget; + s32 mypresetchrstarget = -1; u8 *cmd = g_Vars.ailist + g_Vars.aioffset; if (g_Vars.chrdata->chrpreset1 != -1) {