diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-25 03:42:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-25 03:42:09 +0300 |
commit | a4252ba2050b16a53247335cdddd7aa13a532239 (patch) | |
tree | 19a41cf0b1c546d5b1cc217194a1fe0a477d545d /src/localplayer.cpp | |
parent | 4afb49eb81f590c2bce56ed28f237a9bf0e2a093 (diff) | |
download | plus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.gz plus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.bz2 plus-a4252ba2050b16a53247335cdddd7aa13a532239.tar.xz plus-a4252ba2050b16a53247335cdddd7aa13a532239.zip |
Add removing palyers sprite logic depend on players direction.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 124f2dfe1..0310bb8ad 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -1470,7 +1470,7 @@ int LocalPlayer::getAttackRange() Item *weapon = PlayerInfo::getEquipment(EQUIP_FIGHT1_SLOT); if (weapon) { - const ItemInfo info = weapon->getInfo(); + const ItemInfo &info = weapon->getInfo(); return info.getAttackRange(); } return 48; // unarmed range |