]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix radar paths in some game commands (something I prolly forgot long ago)
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 19:19:35 +0000 (21:19 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 19:19:35 +0000 (21:19 +0200)
data/qcsrc/server/gamecommand.qc

index 5c2c7566fa97f2c344f4725e19935254c043b445..a5e52e3d0a0d526dffb0723f9ec1817c57c05623 100644 (file)
@@ -254,22 +254,22 @@ void RadarMap_Think()
                self.maxs_y = (mi_picmax_y - mi_picmin_y) / self.size_y;\r
                self.maxs_z = mi_max_z - mi_min_z;\r
                print("Picture mins/maxs: ", ftos(self.maxs_x), " and ", ftos(self.maxs_y), " should match\n");\r
-               self.netname = strzone(strcat("gfx/", mi_shortname, "_radar.xpm"));\r
+               self.netname = strzone(strcat("gfx/radar/", mi_shortname, "_radar.xpm"));\r
                if(!(self.count & 1))\r
                {\r
                        self.cnt = fopen(self.netname, FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.tga"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.tga"), FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.png"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.png"), FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.jpg"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.jpg"), FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.tga"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.tga"), FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.png"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.png"), FILE_READ);\r
                        if(self.cnt < 0)\r
-                               self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.jpg"), FILE_READ);\r
+                               self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.jpg"), FILE_READ);\r
                        if(self.cnt >= 0)\r
                        {\r
                                fclose(self.cnt);\r