refactor(Scripts/Commands): code cleanup (part 4) (#6921)
This commit is contained in:
parent
a57c4fd3b8
commit
fab0fc421b
9 changed files with 53 additions and 53 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue