From d0c97b98e477cfdf46ed7f36fd16c64f7943d551 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 17 Jan 2005 15:11:19 +0000 Subject: Committing Allegro -> SDL switch, hugely breaking the game. --- src/gui/playerbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/playerbox.cpp') diff --git a/src/gui/playerbox.cpp b/src/gui/playerbox.cpp index 9efb9bad..70715729 100644 --- a/src/gui/playerbox.cpp +++ b/src/gui/playerbox.cpp @@ -58,12 +58,12 @@ void PlayerBox::draw(gcn::Graphics *graphics) getAbsolutePosition(x, y); // Draw character - playerset->spriteset[0]->draw(buffer, x - 25, y - 25); + playerset->spriteset[0]->draw(screen, x - 25, y - 25); // Draw his hair int hf = hairColor + 40 * (hairStyle); if (hf >= 0 && hf < (int)hairset->spriteset.size()) { - hairset->spriteset[hf]->draw(buffer, x + 37, y + 5); + hairset->spriteset[hf]->draw(screen, x + 37, y + 5); } } } -- cgit v1.2.3-70-g09d2