mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Cleanup] Cleanup ChangeSize() (#3959)
# Notes - Use `EQ::Clamp()` for logic instead of basic comparsions. - Rename restriction parameter to `unrestricted`.
This commit is contained in:
+2
-2
@@ -311,9 +311,9 @@ void Perl_Mob_ChangeSize(Mob* self, float in_size) // @categories Script Utility
|
||||
self->ChangeSize(in_size);
|
||||
}
|
||||
|
||||
void Perl_Mob_ChangeSize(Mob* self, float in_size, bool no_restriction) // @categories Script Utility
|
||||
void Perl_Mob_ChangeSize(Mob* self, float in_size, bool unrestricted) // @categories Script Utility
|
||||
{
|
||||
self->ChangeSize(in_size, no_restriction);
|
||||
self->ChangeSize(in_size, unrestricted);
|
||||
}
|
||||
|
||||
void Perl_Mob_GMMove(Mob* self, float x, float y, float z) // @categories Script Utility
|
||||
|
||||
Reference in New Issue
Block a user