diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-05 12:33:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-05 15:48:51 +0300 |
commit | 126b1470842302537b0bc5e4527cf7fd540a9125 (patch) | |
tree | 8d98425338e7a7f01add71d762fba147fc097fc2 /src/map.cpp | |
parent | f6920653c7a958528df248ff61c372a0bd3d4f1d (diff) | |
download | manaplus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.gz manaplus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.bz2 manaplus-126b1470842302537b0bc5e4527cf7fd540a9125.tar.xz manaplus-126b1470842302537b0bc5e4527cf7fd540a9125.zip |
Add checks and const to animatedsprites and related classes.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |