forked from Ports/perfect_dark
port: fix uninitialized var in aiIfPresetsTargetIsNotMyTarget (fixes #542)
This commit is contained in:
1 parent
2386494030
commit
0e1a7e136a
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user