From 397b9a764b435a7b8c410bd9edc445009a7a9564 Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Wed, 1 Oct 2008 17:16:22 +0000 Subject: data-dir autodetection; data-dir override; compiled-in data-dir; messagebox if detection fails; does chdir into data-dir --- src/game/editor/ed_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/editor/ed_io.cpp') diff --git a/src/game/editor/ed_io.cpp b/src/game/editor/ed_io.cpp index b27dd25e..dfaa0e2c 100644 --- a/src/game/editor/ed_io.cpp +++ b/src/game/editor/ed_io.cpp @@ -398,7 +398,7 @@ int MAP::load(const char *filename) if(item->external) { char buf[256]; - sprintf(buf, "data/mapres/%s.png", name); + sprintf(buf, "mapres/%s.png", name); // load external EDITOR_IMAGE imginfo; -- cgit 1.4.1