X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fhook.qc;h=609a06bbca46ce9e3c95bb7914a1693e826111f7;hb=4bd862ed7e92d754ff387c6125eff4909597a649;hp=641d50d634fee10abbb0abacbef4d30943df4eb0;hpb=26ec33d6d19e627b43ac2cb51f83f890b5176293;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/hook.qc b/qcsrc/client/hook.qc index 641d50d63..609a06bbc 100644 --- a/qcsrc/client/hook.qc +++ b/qcsrc/client/hook.qc @@ -129,22 +129,22 @@ void Draw_GrapplingHook() case ENT_CLIENT_HOOK: intensity = 1; offset = 0; - if(t == COLOR_TEAM1) + if(t == FL_TEAM_1) { tex = "particles/hook_red"; rgb = '1 .3 .3'; } - else if(t == COLOR_TEAM2) + else if(t == FL_TEAM_2) { tex = "particles/hook_blue"; rgb = '.3 .3 1'; } - else if(t == COLOR_TEAM3) + else if(t == FL_TEAM_3) { tex = "particles/hook_yellow"; rgb = '1 1 .3'; } - else if(t == COLOR_TEAM4) + else if(t == FL_TEAM_4) { tex = "particles/hook_pink"; rgb = '1 .3 1';