Skip to content

Commit

Permalink
Unit: deprecate ApplyPowerMod
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Aug 16, 2024
1 parent d46154a commit 15588f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/Entities/Unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,7 @@ class Unit : public WorldObject
void SetPower(Powers power, float val, bool withPowerUpdate = true);
void SetMaxPower(Powers power, uint32 val);
int32 ModifyPower(Powers power, int32 dVal);
[[deprecated("Use ModifyPower()")]]
void ApplyPowerMod(Powers power, uint32 val, bool apply);
void ApplyMaxPowerMod(Powers power, uint32 val, bool apply);
bool HasMana() { return GetPowerType() == POWER_MANA; }
Expand Down

0 comments on commit 15588f7

Please sign in to comment.