Fix Doctor skill usage

This commit is contained in:
Alexander Batalov 2022-10-04 09:23:17 +03:00
parent 8d61a19dbe
commit 624076ae9b
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ int skillUse(Object* obj, Object* a2, int skill, int criticalChanceModifier)
// 533: crippled right leg
// 534: crippled left leg
messageListItem.num = 530 + index;
if (messageListGetItem(&gSkillsMessageList, &messageListItem)) {
if (!messageListGetItem(&gSkillsMessageList, &messageListItem)) {
return -1;
}