summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 00:01:39 +0100
committerIra Rice <irarice@gmail.com>2009-03-26 17:42:56 -0600
commit22974109dd0e9ae2b915cc2c258df1f01a65b729 (patch)
tree043245026b4c52582638ebe8039341fd2c50af74 /src/being.cpp
parentd26a7795fa90c6e26f5302db4a470321bce4a5cb (diff)
downloadmana-client-22974109dd0e9ae2b915cc2c258df1f01a65b729.tar.gz
mana-client-22974109dd0e9ae2b915cc2c258df1f01a65b729.tar.bz2
mana-client-22974109dd0e9ae2b915cc2c258df1f01a65b729.tar.xz
mana-client-22974109dd0e9ae2b915cc2c258df1f01a65b729.zip
Fixed duplicate check for item names
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 61826089..8f00fd3c 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -203,7 +203,7 @@ void Being::takeDamage(Being *attacker, int amount, AttackType type)
color = &guiPalette->getColor(Palette::HIT_CRITICAL);
}
else if (!amount)
- {
+ {
if (attacker == player_node)
{
// This is intended to be the wrong direction to visually