summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rwxr-xr-xconfigure.ac2
-rw-r--r--src/being.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/README b/README
index 2f133659..4dee7da8 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
THE MANA WORLD
==============
- Version: 0.0.11.1 Date: 7/4/2005
+ Version: 0.0.11.2 Date: 8/4/2005
Development team:
diff --git a/configure.ac b/configure.ac
index 151182e6..e9e609fa 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.59)
-AC_INIT([The Mana World], [0.0.11.1], [umperio@users.sourceforge.net], [tmw])
+AC_INIT([The Mana World], [0.0.11.2], [umperio@users.sourceforge.net], [tmw])
AC_CONFIG_HEADERS([config.h:config.h.in])
AC_LANG_CPLUSPLUS
diff --git a/src/being.cpp b/src/being.cpp
index fd369a42..ed2a62f5 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -114,6 +114,7 @@ void sort() {
Being::Being():
speech_time(0),
+ damage(""), damage_time(0), damage_y(0.0),
id(0), job(0),
x(0), y(0), destX(0), destY(0), direction(0),
type(0), action(0), frame(0),
@@ -123,8 +124,7 @@ Being::Being():
emotion(0), emotion_time(0),
text_x(0), text_y(0),
hair_style(1), hair_color(1),
- weapon(0),
- damage(""), damage_time(0), damage_y(0.0)
+ weapon(0)
{
}
@@ -163,6 +163,7 @@ void Being::setDamage(const std::string &text, int time)
{
damage = text;
damage_time = time;
+ damage_y = 0;
}
void Being::nextStep()
@@ -226,8 +227,7 @@ void Being::drawSpeech(Graphics *graphics)
text_x + 60, text_y - 60 - (int)damage_y,
gcn::Graphics::CENTER);
damage_y += 0.5;
- } else
- damage_y = 0;
+ }
}
void Being::tick()