Skip to content

Commit

Permalink
fix oil-usage when HELLFIRE is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Jul 27, 2024
1 parent 085cc17 commit f8be5a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Source/msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2562,11 +2562,9 @@ static unsigned On_OPERATEITEM(TCmd* pCmd, int pnum)
(cmd->iou.from == SPLFROM_ABILITY && cmd->iou.skill != SPL_OIL));
net_assert(cmd->ioIdx < NUM_INVELEM);

#ifdef HELLFIRE
if (cmd->iou.skill == SPL_OIL)
DoOil(pnum, cmd->iou.from, cmd->ioIdx);
else
#endif
DoAbility(pnum, cmd->iou.from, cmd->ioIdx);

if (currLvl._dLevelIdx == plr._pDunLevel) {
Expand Down

0 comments on commit f8be5a4

Please sign in to comment.