From 126b1470842302537b0bc5e4527cf7fd540a9125 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2013 12:33:10 +0300 Subject: Add checks and const to animatedsprites and related classes. --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index c6aea4fcb..4f8cab3eb 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -317,7 +317,7 @@ void Map::update(const int ticks) } } -void Map::draw(Graphics *graphics, int scrollX, int scrollY) +void Map::draw(Graphics *const graphics, int scrollX, int scrollY) { if (!player_node) return; -- cgit v1.2.3-60-g2f50