summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-14 01:02:46 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-14 01:02:46 +0000
commit7fe28c4550c2ae82b796ebd2d05a9dcac1f9e384 (patch)
tree26d02901189875ae8766354ac8930f4733640641 /src/being.h
parent486c57304076b7352a588dff08c2b976a76e1608 (diff)
downloadmana-7fe28c4550c2ae82b796ebd2d05a9dcac1f9e384.tar.gz
mana-7fe28c4550c2ae82b796ebd2d05a9dcac1f9e384.tar.bz2
mana-7fe28c4550c2ae82b796ebd2d05a9dcac1f9e384.tar.xz
mana-7fe28c4550c2ae82b796ebd2d05a9dcac1f9e384.zip
Made Being::setDamage accept a short instead of a string.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 98aaeb80..9c853c32 100644
--- a/src/being.h
+++ b/src/being.h
@@ -125,7 +125,7 @@ class Being
* @param text The text that should appear.
* @param time The amount of time the text should stay in milliseconds.
*/
- void setDamage(const std::string &text, int time);
+ void setDamage(short amount, int time);
/**
* Returns the name of the being.