mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Apply the same fix for instashield overlay
This commit is contained in:
parent
35ddf39453
commit
5a89c2738f
1 changed files with 6 additions and 0 deletions
|
@ -2027,9 +2027,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