From f5f9c8f798123b21897f73fd47c8e5f0600c0c35 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 19 Apr 2011 23:26:56 +0300 Subject: Small optimisation. --- src/resources/mapreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2