mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-27 19:51:09 +00:00
Update p_user.c
This commit is contained in:
parent
a6ab670294
commit
4129140b4a
1 changed files with 1 additions and 1 deletions
|
@ -2077,7 +2077,7 @@ void P_SpawnThokMobj(player_t *player)
|
|||
mobj = P_SpawnGhostMobj(player->mo); // virtually does everything here for us
|
||||
else if (type == MT_THOKEFFECT) // Thok boom effect for Sonic
|
||||
{
|
||||
mobj = P_SpawnMobjFromMobj(player->mo, 0, 0, FRACUNIT * 24, type);
|
||||
mobj = P_SpawnMobjFromMobj(player->mo, 0, 0, FixedDiv(player->mo->height, player->mo->scale)*3/4, type);
|
||||
mobj->angle = player->mo->angle + ANGLE_90;
|
||||
mobj->fuse = 7;
|
||||
mobj->scale = player->mo->scale / 3;
|
||||
|
|
Loading…
Reference in a new issue