mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'bumperstuff' into 'master'
Change the time NiGHTS bumpers aren't responded to to 5 tics rather than 9. Closes #246 See merge request STJr/SRB2Internal!365
This commit is contained in:
commit
68edb0e8fa
2 changed files with 2 additions and 2 deletions
|
|
@ -1074,7 +1074,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
if (player->exiting)
|
if (player->exiting)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (player->bumpertime < TICRATE/4)
|
if (player->bumpertime <= (TICRATE/2)-5)
|
||||||
{
|
{
|
||||||
S_StartSound(toucher, special->info->seesound);
|
S_StartSound(toucher, special->info->seesound);
|
||||||
if (player->powers[pw_carry] == CR_NIGHTSMODE)
|
if (player->powers[pw_carry] == CR_NIGHTSMODE)
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
||||||
{
|
{
|
||||||
angle_t nightsangle = 0;
|
angle_t nightsangle = 0;
|
||||||
|
|
||||||
if (object->player->bumpertime >= TICRATE/4)
|
if (object->player->bumpertime > (TICRATE/2)-5)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ((object->player->pflags & PF_TRANSFERTOCLOSEST) && object->player->axis1 && object->player->axis2)
|
if ((object->player->pflags & PF_TRANSFERTOCLOSEST) && object->player->axis1 && object->player->axis2)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue