[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 authored and GitHub committed 2024-01-12 01:51:02 -06:00
1 parent b61649a2a0
commit 53d6e449c2
5 files changed
+15 -25

No files matched your search

+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);