From 624076ae9ba801854f56c429b1c16b5a8ae827fd Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Tue, 4 Oct 2022 09:23:17 +0300 Subject: [PATCH] Fix Doctor skill usage --- src/skill.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skill.cc b/src/skill.cc index 8695408..bc1dec8 100644 --- a/src/skill.cc +++ b/src/skill.cc @@ -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; }