mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix wrong variable assignment and literally decrementing the wrong variable on dlz rockets
This commit is contained in:
parent
10f8bb5a3f
commit
8c525621c8
1 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ void Obj_DLZRocketSpecial(mobj_t *mo, player_t *p)
|
|||
|
||||
p->mo->z = mo->z + 16*P_MobjFlip(p->mo)*mapobjectscale;
|
||||
P_SetPlayerAngle(p->mo->player, mo->angle);
|
||||
p->dlzrocket = true;
|
||||
p->dlzrocket = 1;
|
||||
p->dlzrocketangle = mo->angle;
|
||||
p->dlzrocketanglev = 0;
|
||||
p->dlzrocketspd = DLZROCKETSPEED;
|
||||
|
|
@ -119,7 +119,7 @@ void Obj_playerDLZRocket(player_t *p)
|
|||
if (p->dlzrocketspd < maxspd)
|
||||
p->dlzrocketspd++;
|
||||
else if (p->dlzrocketspd > maxspd)
|
||||
p->dlzrocket--;
|
||||
p->dlzrocketspd--;
|
||||
|
||||
// so long as PF_STASIS is applied, let the angle be overwritten freely.
|
||||
// this is used by seasaws but can be used for misc modding purposes too.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue