From: Samual Lenks Date: Fri, 31 May 2013 17:25:47 +0000 (-0400) Subject: fix something X-Git-Tag: xonotic-v0.7.0~26 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d91b3e89615fe69b76d6e7f12327bf9efb03e1e6;p=xonotic%2Fxonotic-data.pk3dir.git fix something --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 342db3078..f6d6647b0 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -984,8 +984,8 @@ void ctf_FlagSetup(float teamnumber, entity flag) // called when spawning a flag flag.think = ctf_FlagThink; flag.nextthink = time + FLAG_THINKRATE; flag.ctf_status = FLAG_BASE; - - + + // appearence if(flag.model == "") { flag.model = ((teamnumber) ? autocvar_g_ctf_flag_red_model : autocvar_g_ctf_flag_blue_model); } if(!flag.scale) { flag.scale = FLAG_SCALE; } if(!flag.skin) { flag.skin = ((teamnumber) ? autocvar_g_ctf_flag_red_skin : autocvar_g_ctf_flag_blue_skin); }