mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-04 03:25:52 -04:00
Update d_a_alink_swim.inc
This commit is contained in:
@@ -660,11 +660,11 @@ void daAlink_c::setSwimMoveAnime() {
|
||||
field_0x3478 = mpHIO->mSwim.m.mUnderwaterMinAnmSpeed;
|
||||
field_0x347c = mpHIO->mSwim.m.mUnderwaterMaxAnmSpeed;
|
||||
|
||||
IF_DUSK(const bool easySwim = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.swimming, false));
|
||||
IF_DUSK(const bool holdToMash = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash, false));
|
||||
|
||||
if (mMaxSpeed < mpHIO->mSwim.m.mUnderwaterMaxSpeed) {
|
||||
mMaxSpeed = mpHIO->mSwim.m.mUnderwaterMaxSpeed;
|
||||
} else if (easySwim ? doButton() : doTrigger()) {
|
||||
} else if (holdToMash ? doButton() : doTrigger()) {
|
||||
mMaxSpeed += 0.75f;
|
||||
if (mMaxSpeed > temp_f29) {
|
||||
mMaxSpeed = temp_f29;
|
||||
|
||||
Reference in New Issue
Block a user