[Cleanup] Cleanup ChangeSize() (#3959)

# Notes
- Use `EQ::Clamp()` for logic instead of basic comparsions.
- Rename restriction parameter to `unrestricted`.
This commit is contained in:
Alex King
2024-01-12 02:51:02 -05:00
committed by GitHub
parent b61649a2a0
commit 53d6e449c2
5 changed files with 15 additions and 25 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ public:
void DoAnim(int animation_id, int animation_speed, bool ackreq);
void DoAnim(int animation_id, int animation_speed, bool ackreq, int filter);
void ChangeSize(double in_size);
void ChangeSize(double in_size, bool no_restriction);
void ChangeSize(double in_size, bool unrestricted);
bool RandomizeFeatures();
bool RandomizeFeatures(bool send_illusion);
bool RandomizeFeatures(bool send_illusion, bool save_variables);