don't hardcode tilespath
authorMatthias Braun <matze@braunis.de>
Fri, 6 May 2005 22:59:46 +0000 (22:59 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 6 May 2005 22:59:46 +0000 (22:59 +0000)
SVN-Revision: 2426

src/tile.cpp

index 7fef752..6683b02 100644 (file)
@@ -150,8 +150,7 @@ Tile::load_images(const std::string& tilesetpath)
   }
   if(editor_imagefile != "") {
     editor_image = new Surface(
-        get_resource_filename(
-          std::string("images/tilesets/") + editor_imagefile), true);
+        get_resource_filename(tilespath + editor_imagefile), true);
   }
 }