diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.cpp | 1 | ||||
-rw-r--r-- | src/being/being.cpp | 3 | ||||
-rw-r--r-- | src/being/being.h | 2 | ||||
-rw-r--r-- | src/being/compoundsprite.cpp | 1 | ||||
-rw-r--r-- | src/being/flooritem.cpp | 2 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 2 |
6 files changed, 9 insertions, 2 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index 18b93842c..6c79488a1 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -46,6 +46,7 @@ #include "utils/checkutils.h" #include "utils/delete2.h" #include "utils/foreach.h" +#include "utils/performance.h" #include "utils/timer.h" #include "debug.h" diff --git a/src/being/being.cpp b/src/being/being.cpp index 7886f99d6..980bec103 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -117,6 +117,7 @@ #include "utils/foreach.h" #include "utils/gettext.h" #include "utils/likely.h" +#include "utils/performance.h" #include "utils/stdmove.h" #include "utils/timer.h" @@ -4343,7 +4344,7 @@ void Being::drawHpBar(Graphics *restrict const graphics, #ifdef TMWA_SUPPORT // TODO: this is support for pre-2015 TMWAthena, remove in 2025? - // See mana/plus!68. + // See mana/verse!68. if (!serverFeatures->haveServerHp()) { // old servers if ((damage == 0 && (this != localPlayer || hp == maxHP)) diff --git a/src/being/being.h b/src/being/being.h index d8ce29027..320faa5e2 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -192,7 +192,7 @@ class Being notfinal : public ActorSprite, * Puts a damage bubble above this being. * * @param attacker the attacking being - * @param amount the amount of damage recieved (0 means miss) + * @param amount the amount of damage received (0 means miss) * @param type the attack type * @param attackId the attack id * @param level the skill level diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index 821980dfd..054da503c 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -39,6 +39,7 @@ #include "utils/dtor.h" #include "utils/foreach.h" #include "utils/likely.h" +#include "utils/performance.h" #include "utils/sdlcheckutils.h" #ifndef USE_SDL2 diff --git a/src/being/flooritem.cpp b/src/being/flooritem.cpp index 31c331329..fbfcf2e83 100644 --- a/src/being/flooritem.cpp +++ b/src/being/flooritem.cpp @@ -43,6 +43,8 @@ #endif // TMWA_SUPPORT #include "net/serverfeatures.h" +#include "utils/performance.h" + #include "debug.h" extern volatile time_t cur_time; diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index e4285d991..218a77ce2 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -91,6 +91,7 @@ #include "utils/delete2.h" #include "utils/foreach.h" #include "utils/gettext.h" +#include "utils/performance.h" #include "utils/timer.h" #ifdef USE_MUMBLE @@ -1367,6 +1368,7 @@ void LocalPlayer::moveToTarget(int dist) ServerType::TMWATHENA); switch (dist) { + case 10: // range case 11: // archer dist = mAttackRange; if (dist == 1 && broken) |