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 | |
parent | 83d4185ef116b1813742399dbf40547a4c9f7216 (diff) | |
download | plus-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.gz plus-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.bz2 plus-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.tar.xz plus-f5f9c8f798123b21897f73fd47c8e5f0600c0c35.zip |
Small optimisation.
-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) |