mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
refactor(Scripts/Commands): code cleanup (part 4) (#6921)
This commit is contained in:
@@ -1085,7 +1085,7 @@ public:
|
||||
if (creature)
|
||||
{
|
||||
// update movement type
|
||||
if (doNotDelete == false)
|
||||
if (!doNotDelete)
|
||||
creature->LoadPath(0);
|
||||
|
||||
creature->SetDefaultMovementType(move_type);
|
||||
@@ -1097,7 +1097,7 @@ public:
|
||||
}
|
||||
creature->SaveToDB();
|
||||
}
|
||||
if (doNotDelete == false)
|
||||
if (!doNotDelete)
|
||||
{
|
||||
handler->PSendSysMessage(LANG_MOVE_TYPE_SET, type_str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user