From 4f40a1bcbdc27affb96737f5f5dc0c086d1031ce Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sun, 3 Jul 2005 10:40:06 +0000 Subject: - Commenting out buddy and new skills windows - Some code cleaning - Workaround for colored text not being displayed in SDL mode (disabled) --- src/being.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index 770a5c5a..cd0a31c9 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -346,6 +346,7 @@ void Being::drawSpeech(Graphics *graphics) gcn::Graphics::CENTER); } if (showDamage) { +#ifdef USE_OPENGL // Selecting the right color if (damage == "miss") { @@ -359,6 +360,7 @@ void Being::drawSpeech(Graphics *graphics) { graphics->setFont(hitRedFont); } +#endif int textX = 0; int textY = 0; @@ -370,7 +372,7 @@ void Being::drawSpeech(Graphics *graphics) textX = 60; textY = 0; } - + graphics->drawText(damage, text_x + textX, text_y - textY - get_elapsed_time(damage_time) / 100, -- cgit v1.2.3-60-g2f50