mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Dummy out NiGHTS item faster attract
This commit is contained in:
parent
baa6ba6899
commit
fed72c344a
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!
|
||||
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9807,7 +9807,9 @@ void P_PlayerThink(player_t *player)
|
|||
// Yay! The thing's in reach! Pull it in!
|
||||
mo2->flags |= MF_NOCLIP|MF_NOCLIPHEIGHT;
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue