mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 12:51:21 +00:00
Apply the same fix for instashield overlay
This commit is contained in:
parent
c2771d2af0
commit
22211387e4
1 changed files with 6 additions and 0 deletions
|
@ -2026,9 +2026,15 @@ void K_DoInstashield(player_t *player)
|
|||
S_StartSound(player->mo, sfx_cdpcm9);
|
||||
|
||||
layera = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z, MT_INSTASHIELDA);
|
||||
layera->old_x = player->mo->old_x;
|
||||
layera->old_y = player->mo->old_y;
|
||||
layera->old_z = player->mo->old_z;
|
||||
P_SetTarget(&layera->target, player->mo);
|
||||
|
||||
layerb = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z, MT_INSTASHIELDB);
|
||||
layerb->old_x = player->mo->old_x;
|
||||
layerb->old_y = player->mo->old_y;
|
||||
layerb->old_z = player->mo->old_z;
|
||||
P_SetTarget(&layerb->target, player->mo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue