From aeb72d23af4d35a9657fcc54e2877671cb43ae4f Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Thu, 20 May 2021 16:06:53 +0200 Subject: [PATCH] Add .colormap support to players. --- src/server/gamerules.qc | 1 + src/shared/player.qc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/gamerules.qc b/src/server/gamerules.qc index af4e560..dd53ca4 100644 --- a/src/server/gamerules.qc +++ b/src/server/gamerules.qc @@ -75,6 +75,7 @@ SHMultiplayerRules::PlayerDeath(base_player pl) corpse.frame = ANIM_DIESIMPLE; corpse.angles = pl.angles; corpse.velocity = pl.velocity; + corpse.colormap = pl.colormap; } void diff --git a/src/shared/player.qc b/src/shared/player.qc index 6ed68c6..bb146b8 100644 --- a/src/shared/player.qc +++ b/src/shared/player.qc @@ -23,7 +23,7 @@ enumflags PLAYER_ORIGIN_Z, PLAYER_ANGLES_X, PLAYER_ANGLES_Y, - PLAYER_ANGLES_Z, + PLAYER_COLORMAP, PLAYER_VELOCITY, PLAYER_VELOCITY_Z, PLAYER_FLAGS,