]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Use the player's color for Vortex charging instead of predefined colors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / view.qc
index fce90d7bf67f5f11f63fdbb6e21ff9a4fd79d824..8f919b556ca7d90d54c430cd25d20f758e28588f 100644 (file)
@@ -287,7 +287,7 @@ void viewmodel_draw(entity this)
        if (invehicle) a = -1;
        Weapon wep = this.activeweapon;
        int c = entcs_GetClientColors(current_player);
-       vector g = weaponentity_glowmod(wep, NULL, c, this);
+       vector g = weaponentity_glowmod(wep, c, this);
        entity me = CSQCModel_server2csqc(player_localentnum - 1);
        int fx = ((me.csqcmodel_effects & EFMASK_CHEAP)
                | EF_NODEPTHTEST)