diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-19 23:26:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-19 23:26:56 +0300 |
commit | f5f9c8f798123b21897f73fd47c8e5f0600c0c35 (patch) | |
tree | d2f9314e779fa64fb834aa530de2190423722e86 /src/resources | |
parent | 83d4185ef116b1813742399dbf40547a4c9f7216 (diff) | |
download | mv-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.gz mv-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.bz2 mv-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.xz mv-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.zip |
Small optimisation.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mapreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 3bd77315a..b80bc960f 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -393,7 +393,7 @@ void MapReader::readProperties(xmlNodePtr node, Properties *props) } } -static void setTile(Map *map, MapLayer *layer, int x, int y, int gid) +inline static void setTile(Map *map, MapLayer *layer, int x, int y, int gid) { const Tileset * const set = map->getTilesetWithGid(gid); if (layer) |