Skip to content

Commit

Permalink
Fixed SET_CREATURE_CONFIGURATION setting job values
Browse files Browse the repository at this point in the history
  • Loading branch information
Loobinex committed Jul 11, 2024
1 parent 52f47a0 commit 204d4b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lvl_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -2825,6 +2825,11 @@ static void set_creature_configuration_check(const struct ScriptLine* scline)
value3 = job3_value;
}
}
else
{
value1 = atoi(scline->tp[2]);
// nothing there that would need the second or third value.
}
}
else if (block == CrtConf_SOUNDS)
{
Expand Down Expand Up @@ -2872,7 +2877,7 @@ static void set_creature_configuration_check(const struct ScriptLine* scline)
}
if (scline->tp[4][0] != '\0')
{
value2 = atoi(scline->tp[4]);
value3 = atoi(scline->tp[4]);
}
}
}
Expand Down

0 comments on commit 204d4b0

Please sign in to comment.