File 0024-Temporary-workaround-for-missing-fog.png-see-31.patch of Package stargus

From 73c3e793ce4e6a9db38c98d2c6d6dfe1d1fd8c87 Mon Sep 17 00:00:00 2001
From: Tim Felgentreff <timfelgentreff@gmail.com>
Date: Mon, 22 May 2017 16:30:38 +0200
Subject: [PATCH 24/26] Temporary workaround for missing fog.png (see #31)

---
 stargus.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/stargus.cpp b/stargus.cpp
index e0e390f..4d09738 100644
--- a/stargus.cpp
+++ b/stargus.cpp
@@ -24,9 +24,13 @@
 #define EXTRACTOR_TOOL "startool"
 #define EXTRACTOR_ARGS
 #define CHECK_EXTRACTED_VERSION 1
-// contrib has fog.png
+// contrib has fog.png.
+// TODO: There's a bug in the lua files searching fog.png in the wrong path.
+// I have no time to search and fix that right now, but once that's done, there's
+// no need to copy it to two locations.
 #define CONTRIB_DIRECTORIES { "mpqlist.txt", "mpqlist.txt", \
 			      "contrib", "graphics/tilesets", \
+			      "contrib", "tilesets", \
 			      "scripts", "scripts", NULL }
 
 const char* SRC_PATH() { return __FILE__; }
-- 
2.16.4

openSUSE Build Service is sponsored by