You've already forked HackerSM64
mirror of
https://github.com/HackerN64/HackerSM64.git
synced 2026-01-21 10:35:32 -08:00
Merge pull request #238 from Reonu/develop/refactor__water-upwarp-define
Added WATER_PLUNGE_UPWARP define
This commit is contained in:
@@ -78,6 +78,9 @@
|
||||
// Disable BLJs and crush SimpleFlips's dreams
|
||||
//#define DISABLE_BLJ
|
||||
|
||||
// Re-enable upwarping when entering water. Forces you to only enter water from the top
|
||||
// #define WATER_PLUNGE_UPWARP
|
||||
|
||||
|
||||
// -- Compatibility safeguards. Don't mess with these unless you know what you're doing. --
|
||||
|
||||
|
||||
@@ -1131,8 +1131,9 @@ s32 set_water_plunge_action(struct MarioState *m) {
|
||||
m->forwardVel = m->forwardVel / 4.0f;
|
||||
m->vel[1] = m->vel[1] / 2.0f;
|
||||
|
||||
// !BUG: Causes waterbox upwarp
|
||||
// m->pos[1] = m->waterLevel - 100;
|
||||
#ifdef WATER_PLUNGE_UPWARP
|
||||
m->pos[1] = m->waterLevel - 100;
|
||||
#endif
|
||||
|
||||
m->faceAngle[2] = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user