mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Dummy out NiGHTS item faster attract
This commit is contained in:
parent
2b18908fe4
commit
dcca56bc04
2 changed files with 6 additions and 2 deletions
|
|
@ -946,7 +946,9 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
// Yay! The thing's in reach! Pull it in!
|
// Yay! The thing's in reach! Pull it in!
|
||||||
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
||||||
mo2->flags2 |= MF2_NIGHTSPULL;
|
mo2->flags2 |= MF2_NIGHTSPULL;
|
||||||
mo2->movefactor = 32*FRACUNIT; // initialize the NightsItemChase timer
|
// New NiGHTS attract speed dummied out because the older behavior
|
||||||
|
// is exploited as a mechanic. Uncomment to enable.
|
||||||
|
mo2->movefactor = 0; // 32*FRACUNIT; // initialize the NightsItemChase timer
|
||||||
P_SetTarget(&mo2->tracer, toucher);
|
P_SetTarget(&mo2->tracer, toucher);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9807,7 +9807,9 @@ void P_PlayerThink(player_t *player)
|
||||||
// Yay! The thing's in reach! Pull it in!
|
// Yay! The thing's in reach! Pull it in!
|
||||||
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
||||||
mo2->flags2 |= MF2_NIGHTSPULL;
|
mo2->flags2 |= MF2_NIGHTSPULL;
|
||||||
mo2->movefactor = 40*FRACUNIT; // initialize the NightsItemChase timer
|
// New NiGHTS attract speed dummied out because the older behavior
|
||||||
|
// is exploited as a mechanic. Uncomment to enable.
|
||||||
|
mo2->movefactor = 0; // 40*FRACUNIT; // initialize the NightsItemChase timer
|
||||||
P_SetTarget(&mo2->tracer, player->mo);
|
P_SetTarget(&mo2->tracer, player->mo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue