Skip to content

Commit

Permalink
Merge branch 'FIX_MANADRAIN_ANALYSER' of https://github.com/opentibia…
Browse files Browse the repository at this point in the history
…br/canary into FIX_MANADRAIN_ANALYSER
  • Loading branch information
carlospess0a committed Dec 2, 2023
2 parents f0e7d3d + 6b9cefb commit b74ed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7223,7 +7223,7 @@ bool Game::combatChangeMana(std::shared_ptr<Creature> attacker, std::shared_ptr<
}

target->drainMana(attacker, manaLoss);
if(targetPlayer){
if (targetPlayer) {
std::string cause = "(other)";
if (attacker) {
cause = attacker->getName();
Expand Down

0 comments on commit b74ed79

Please sign in to comment.