From d7575bef1e530eac004c973b0384a12561f0bb8b Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 20 Oct 2003 16:21:24 +0000 Subject: Commit of the month --- lib/sprite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sprite.cc') diff --git a/lib/sprite.cc b/lib/sprite.cc index 9c1a320..e62fb1b 100644 --- a/lib/sprite.cc +++ b/lib/sprite.cc @@ -127,9 +127,9 @@ bool mogltk::Sprite::canfit(int x1, int y1, int x2, int y2) const { return false; } -void mogltk::Sprite::draw(int dx, int dy, ColorP c) { +void mogltk::Sprite::draw(int dx, int dy, ColorP c, float sx, float sy) { bool locked = false; - + if (SDL_MUSTLOCK(mogltk::engine::base_o->getsurface())) { locked = true; SDL_LockSurface(mogltk::engine::base_o->getsurface()); -- cgit v1.2.3