summaryrefslogtreecommitdiff
path: root/src/blitter/base.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
committerfrosch <frosch@openttd.org>2013-10-06 19:38:36 +0000
commit640d39c001982e6bba7034b75ae0adef3ea4b9bb (patch)
treef91e9c65cfb29aaaaba7a24bc82b8a1ced2d378d /src/blitter/base.hpp
parent2d972cb418f17eb5515b3c805fe4aded94f6ed06 (diff)
downloadopenttd-640d39c001982e6bba7034b75ae0adef3ea4b9bb.tar.xz
(svn r25820) -Codechange: More const-ness.
Diffstat (limited to 'src/blitter/base.hpp')
-rw-r--r--src/blitter/base.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp
index 45aa19b7d..91ff68c3b 100644
--- a/src/blitter/base.hpp
+++ b/src/blitter/base.hpp
@@ -77,7 +77,7 @@ public:
/**
* Convert a sprite from the loader to our own format.
*/
- virtual Sprite *Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator) = 0;
+ virtual Sprite *Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) = 0;
/**
* Move the destination pointer the requested amount x and y, keeping in mind