summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS3
-rw-r--r--src/being.cpp3
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b4bcf9bb..c214b2b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-25 Bjørn Lindeijer <bjorn@lindeijer.nl>
+
+ * src/being.cpp: Small fix to prevent other stuff than the damage
+ numbers from fading out.
+
2005-12-24 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/map.cpp: Worked around fringe layer drawing bug at the bottom.
diff --git a/NEWS b/NEWS
index a3798c96..a971879b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
-0.0.18.1 (24 December 2005)
+0.0.18.1 (25 December 2005)
- Fixed a drawing glitch with high tiles at the bottom of the screen
+- Fixed glitches caused by fading out the damage display
0.0.18 (20 December 2005)
- Added new items, npcs, tilesets, maps and monsters
diff --git a/src/being.cpp b/src/being.cpp
index 2bea8341..08341bb9 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -415,6 +415,9 @@ Being::drawSpeech(Graphics *graphics, Sint32 offsetX, Sint32 offsetY)
px + 16,
py - textY - get_elapsed_time(damage_time) / 100,
gcn::Graphics::CENTER);
+
+ // Reset alpha value
+ graphics->setColor(gcn::Color(255, 255, 255));
}
// Potentially draw [TARGET] above this being