From: Matthias Braun Date: Fri, 6 May 2005 22:59:46 +0000 (+0000) Subject: don't hardcode tilespath X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d8496f30a608d6827fefdfe33234acb6f4d8f0fe;p=supertux.git don't hardcode tilespath SVN-Revision: 2426 --- diff --git a/src/tile.cpp b/src/tile.cpp index 7fef75255..6683b02dd 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -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); } }