summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 3f40398a0..645a71dac 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1062,7 +1062,7 @@ std::string Being::getWeaponAttackAction(const ItemInfo *const weapon) const
if (!weapon)
return SpriteAction::ATTACK;
- if (serverVersion < 0 || !weapon)
+ if (serverVersion < 0)
{
return weapon->getAttackAction();
}
@@ -1085,7 +1085,7 @@ std::string Being::getAttackAction(const Attack *const attack1) const
if (!attack1)
return SpriteAction::ATTACK;
- if (serverVersion < 0 || !attack1)
+ if (serverVersion < 0)
{
return attack1->mAction;
}