summaryrefslogtreecommitdiff
path: root/src/being.cpp
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 /src/being.cpp
parent3784ce02a149ef40a269d30d8fc7e8ad0407516c (diff)
downloadmana-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.gz
mana-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.bz2
mana-15a083f3f7df7cd218356fe1e5c000c3ea544916.tar.xz
mana-15a083f3f7df7cd218356fe1e5c000c3ea544916.zip
Fixed glitches caused by fading out the damage display.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 3 insertions, 0 deletions
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