mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 20:48:26 +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
@@ -270,9 +270,9 @@ void Lua_Mob::ChangeSize(double in_size) {
|
||||
self->ChangeSize(static_cast<float>(in_size));
|
||||
}
|
||||
|
||||
void Lua_Mob::ChangeSize(double in_size, bool no_restriction) {
|
||||
void Lua_Mob::ChangeSize(double in_size, bool unrestricted) {
|
||||
Lua_Safe_Call_Void();
|
||||
self->ChangeSize(static_cast<float>(in_size), no_restriction);
|
||||
self->ChangeSize(static_cast<float>(in_size), unrestricted);
|
||||
}
|
||||
|
||||
void Lua_Mob::GMMove(double x, double y, double z) {
|
||||
|
||||
Reference in New Issue
Block a user