]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Change the path for radar images to their own subfolder
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Apr 2011 15:41:21 +0000 (18:41 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Apr 2011 15:41:21 +0000 (18:41 +0300)
data/qcsrc/client/Main.qc

index f353c4c23617bad3f72d556279b041128e4cdcd4..e01f560fe805dc7b32badaa04a320f30d8f3c63d 100644 (file)
@@ -164,13 +164,13 @@ void CSQC_Init(void)
 #endif\r
 \r
        get_mi_min_max_texcoords(1); // try the CLEVER way first\r
-       minimapname = strcat("gfx/", mi_shortname, "_radar.tga");\r
+       minimapname = strcat("gfx/radar/", mi_shortname, "_radar.tga");\r
        shortmapname = mi_shortname;\r
 \r
        if(precache_pic(minimapname) == "")\r
        {\r
                // but maybe we have a non-clever minimap\r
-               minimapname = strcat("gfx/", mi_shortname, "_mini.tga");\r
+               minimapname = strcat("gfx/radar/", mi_shortname, "_mini.tga");\r
                if(precache_pic(minimapname) == "")\r
                        minimapname = ""; // FAIL\r
                else\r