summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprite.h b/src/sprite.h
index 282091cc..51811149 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -47,7 +47,7 @@ class Sprite
* partly with the clipping rectangle support.
*/
virtual void
- draw(Graphics *graphics, int offsetX, int offsetY) = 0;
+ draw(Graphics *graphics, int offsetX, int offsetY) const = 0;
/**
* Returns the pixel Y coordinate of the sprite.