mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
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