X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftile.cpp;h=0fba4df16e45e50876f6ff6cad6a0b86de8c55af;hb=50d1c6076ad3742d6347329b0994703ea3be7e33;hp=79988924da740fa85809f5275cd5a55ab0b15e4b;hpb=7fff22aa4dd018dca9896bb320e48d6d3c63c758;p=supertux.git diff --git a/src/tile.cpp b/src/tile.cpp index 79988924d..0fba4df16 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -135,8 +135,7 @@ Tile::load_images(const std::string& tilesetpath) imagespecs.end(); ++i) { const ImageSpec& spec = *i; Surface* surface; - std::string file - = get_resource_filename(tilesetpath + spec.file); + std::string file = tilesetpath + spec.file; if(spec.rect.get_width() <= 0) { surface = new Surface(file, true); } else { @@ -149,8 +148,7 @@ Tile::load_images(const std::string& tilesetpath) images.push_back(surface); } if(editor_imagefile != "") { - editor_image = new Surface( - get_resource_filename(tilesetpath + editor_imagefile), true); + editor_image = new Surface(tilesetpath + editor_imagefile, true); } }