summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-25 01:28:03 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-25 01:28:03 +0000
commit15a083f3f7df7cd218356fe1e5c000c3ea544916 (patch)
tree4fcba38b245b0a0a939123df1fc1cbdb21481b19
parent3784ce02a149ef40a269d30d8fc7e8ad0407516c (diff)
downloadmana-client-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.gz
mana-client-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.bz2
mana-client-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.xz
mana-client-15a083f3f7df7cd218356fe1e5c000c3ea544916.zip
Fixed glitches caused by fading out the damage display.
-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