mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Colorize Broly ki to player color
This commit is contained in:
parent
2ec29b2586
commit
2d52e4a047
1 changed files with 3 additions and 0 deletions
|
|
@ -5226,6 +5226,8 @@ void K_SpawnBrolyKi(mobj_t *source, tic_t duration)
|
|||
x->height = 0;
|
||||
|
||||
P_SetMobjState(x, S_BROLY1);
|
||||
x->colorized = true;
|
||||
x->color = source->color;
|
||||
x->hitlag = 0; // do not copy source hitlag
|
||||
|
||||
P_SetScale(x, 64 * mapobjectscale);
|
||||
|
|
@ -8641,6 +8643,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
//player->flashing = 0;
|
||||
eggsexplode = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z, MT_SPBEXPLOSION);
|
||||
eggsexplode->height = 2 * player->mo->height;
|
||||
eggsexplode->color = player->mo->color;
|
||||
|
||||
if (player->eggmanblame >= 0
|
||||
&& player->eggmanblame < MAXPLAYERS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue