mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 21:03:42 -07:00
clang format
This commit is contained in:
parent
4fb83e309e
commit
77171fa035
3 changed files with 8 additions and 8 deletions
|
@ -382,10 +382,10 @@ GameInteractionEffectQueryResult ModifyMovementSpeedMultiplier::CanBeApplied() {
|
|||
}
|
||||
void ModifyMovementSpeedMultiplier::_Apply() {
|
||||
if (parameters[0] == -2) {
|
||||
GameInteractor::State::MovementSpeedMultiplier = 0.5f;
|
||||
} else if (parameters[0] == 2) {
|
||||
GameInteractor::State::MovementSpeedMultiplier = 2.0f;
|
||||
}
|
||||
GameInteractor::State::MovementSpeedMultiplier = 0.5f;
|
||||
} else if (parameters[0] == 2) {
|
||||
GameInteractor::State::MovementSpeedMultiplier = 2.0f;
|
||||
}
|
||||
}
|
||||
void ModifyMovementSpeedMultiplier::_Remove() {
|
||||
GameInteractor::State::MovementSpeedMultiplier = 1.0f;
|
||||
|
|
|
@ -156,7 +156,7 @@ class ForceEquipBoots : public RemovableGameInteractionEffect, public Parameteri
|
|||
void _Remove() override;
|
||||
};
|
||||
|
||||
class ModifyMovementSpeedMultiplier: public RemovableGameInteractionEffect, public ParameterizedGameInteractionEffect {
|
||||
class ModifyMovementSpeedMultiplier : public RemovableGameInteractionEffect, public ParameterizedGameInteractionEffect {
|
||||
GameInteractionEffectQueryResult CanBeApplied() override;
|
||||
void _Apply() override;
|
||||
void _Remove() override;
|
||||
|
@ -200,7 +200,7 @@ class SetCollisionViewer : public RemovableGameInteractionEffect {
|
|||
void _Remove() override;
|
||||
};
|
||||
|
||||
class RandomizeCosmetics: public GameInteractionEffectBase {
|
||||
class RandomizeCosmetics : public GameInteractionEffectBase {
|
||||
GameInteractionEffectQueryResult CanBeApplied() override;
|
||||
void _Apply() override;
|
||||
};
|
||||
|
|
|
@ -166,8 +166,8 @@ void SohMenu::AddMenuNetwork() {
|
|||
AddWidget(path, "Spawned Enemies Ignored Ingame", WIDGET_CVAR_CHECKBOX)
|
||||
.CVar(CVAR_REMOTE_CROWD_CONTROL("SpawnedEnemiesIgnoredIngame"))
|
||||
.RaceDisable(true)
|
||||
.Options(CheckboxOptions().Tooltip(
|
||||
"Enemies spawned by CrowdControl won't be considered for \"clear enemy rooms\", so they don't need to be killed to complete these rooms."));
|
||||
.Options(CheckboxOptions().Tooltip("Enemies spawned by CrowdControl won't be considered for \"clear enemy "
|
||||
"rooms\", so they don't need to be killed to complete these rooms."));
|
||||
}
|
||||
|
||||
} // namespace SohGui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue