mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-06 18:12:43 -04:00
Removed temporary bunny hood change
This commit is contained in:
@@ -6081,7 +6081,7 @@ void func_8083DFE0(Player* this, f32* arg1, s16* arg2) {
|
|||||||
if (this->swordState == 0) {
|
if (this->swordState == 0) {
|
||||||
float maxSpeed = R_RUN_SPEED_LIMIT / 100.0f;
|
float maxSpeed = R_RUN_SPEED_LIMIT / 100.0f;
|
||||||
if (CVar_GetS32("gMMBunnyHood", 0) != 0 && this->currentMask == PLAYER_MASK_BUNNY) {
|
if (CVar_GetS32("gMMBunnyHood", 0) != 0 && this->currentMask == PLAYER_MASK_BUNNY) {
|
||||||
maxSpeed *= 3.0f;
|
maxSpeed *= 1.5f;
|
||||||
}
|
}
|
||||||
this->linearVelocity = CLAMP(this->linearVelocity, -maxSpeed, maxSpeed);
|
this->linearVelocity = CLAMP(this->linearVelocity, -maxSpeed, maxSpeed);
|
||||||
}
|
}
|
||||||
@@ -7688,7 +7688,7 @@ void func_80842180(Player* this, GlobalContext* globalCtx) {
|
|||||||
|
|
||||||
if (!func_8083C484(this, &sp2C, &sp2A)) {
|
if (!func_8083C484(this, &sp2C, &sp2A)) {
|
||||||
if (CVar_GetS32("gMMBunnyHood", 0) != 0 && this->currentMask == PLAYER_MASK_BUNNY) {
|
if (CVar_GetS32("gMMBunnyHood", 0) != 0 && this->currentMask == PLAYER_MASK_BUNNY) {
|
||||||
sp2C *= 3.0f;
|
sp2C *= 1.5f;
|
||||||
}
|
}
|
||||||
func_8083DF68(this, sp2C, sp2A);
|
func_8083DF68(this, sp2C, sp2A);
|
||||||
func_8083DDC8(this, globalCtx);
|
func_8083DDC8(this, globalCtx);
|
||||||
|
|||||||
Reference in New Issue
Block a user