From: MirceaKitsune Date: Thu, 15 Mar 2012 19:19:35 +0000 (+0200) Subject: Fix radar paths in some game commands (something I prolly forgot long ago) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ca95389c7cc1708ca49c0b1c84f20611779f618;p=voretournament%2Fvoretournament.git Fix radar paths in some game commands (something I prolly forgot long ago) --- diff --git a/data/qcsrc/server/gamecommand.qc b/data/qcsrc/server/gamecommand.qc index 5c2c7566..a5e52e3d 100644 --- a/data/qcsrc/server/gamecommand.qc +++ b/data/qcsrc/server/gamecommand.qc @@ -254,22 +254,22 @@ void RadarMap_Think() self.maxs_y = (mi_picmax_y - mi_picmin_y) / self.size_y; self.maxs_z = mi_max_z - mi_min_z; print("Picture mins/maxs: ", ftos(self.maxs_x), " and ", ftos(self.maxs_y), " should match\n"); - self.netname = strzone(strcat("gfx/", mi_shortname, "_radar.xpm")); + self.netname = strzone(strcat("gfx/radar/", mi_shortname, "_radar.xpm")); if(!(self.count & 1)) { self.cnt = fopen(self.netname, FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.tga"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.tga"), FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.png"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.png"), FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_radar.jpg"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_radar.jpg"), FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.tga"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.tga"), FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.png"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.png"), FILE_READ); if(self.cnt < 0) - self.cnt = fopen(strcat("gfx/", mi_shortname, "_mini.jpg"), FILE_READ); + self.cnt = fopen(strcat("gfx/radar/", mi_shortname, "_mini.jpg"), FILE_READ); if(self.cnt >= 0) { fclose(self.cnt);