Add .colormap support to players.

This commit is contained in:
Marco Cawthorne 2021-05-20 16:06:53 +02:00
parent 3c50f9c9a8
commit aeb72d23af
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ SHMultiplayerRules::PlayerDeath(base_player pl)
corpse.frame = ANIM_DIESIMPLE; corpse.frame = ANIM_DIESIMPLE;
corpse.angles = pl.angles; corpse.angles = pl.angles;
corpse.velocity = pl.velocity; corpse.velocity = pl.velocity;
corpse.colormap = pl.colormap;
} }
void void

View file

@ -23,7 +23,7 @@ enumflags
PLAYER_ORIGIN_Z, PLAYER_ORIGIN_Z,
PLAYER_ANGLES_X, PLAYER_ANGLES_X,
PLAYER_ANGLES_Y, PLAYER_ANGLES_Y,
PLAYER_ANGLES_Z, PLAYER_COLORMAP,
PLAYER_VELOCITY, PLAYER_VELOCITY,
PLAYER_VELOCITY_Z, PLAYER_VELOCITY_Z,
PLAYER_FLAGS, PLAYER_FLAGS,