diff options
author | lisu | 2006-11-08 01:56:13 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 5860fe7394dc7447e444f0622653ed163a719f45 (patch) | |
tree | 0af3b31b4ad36de0a987bbba81889cd9b23a7f05 | |
parent | 259c64d12b1d23b36c0cc1b306b85255166e2fb7 (diff) | |
download | mars-5860fe7394dc7447e444f0622653ed163a719f45.zip mars-5860fe7394dc7447e444f0622653ed163a719f45.tar.gz |
- set path for data dir
Changed files:
mars-path.patch -> 1.2
-rw-r--r-- | mars-path.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/mars-path.patch b/mars-path.patch index 0ec28b7..50ae2ba 100644 --- a/mars-path.patch +++ b/mars-path.patch @@ -1,11 +1,20 @@ --- mars-0.2.0/src/XmlLoader.cpp~ 2006-11-02 13:10:42.000000000 +0100 -+++ mars-0.2.0/src/XmlLoader.cpp 2006-11-07 22:25:56.000000000 +0100 ++++ mars-0.2.0/src/XmlLoader.cpp 2006-11-08 02:50:00.000000000 +0100 +@@ -207,7 +207,7 @@ + void XmlLoader::LoadImages(const char *path) + { + Image * img; +- string string_path = path; ++ string string_path = "/usr/share/mars/img/buildings/NGG/bunker_outpost_1/"; + + //FIXME temporary solution + @@ -219,7 +219,7 @@ img = gtracker->GetImage(string_path + "02.png", screen->GetGraphicMode()); _views.push_back(img); // If element has more then 2 images, Unit - if(ImageFileExists(string_path + "03.png")) -+/* if(ImageFileExists(string_path + "03.png")) ++ /*if(ImageFileExists(string_path + "03.png")) { img = gtracker->GetImage(string_path + "03.png", screen->GetGraphicMode()); _views.push_back(img); |