mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11840] Fix script command modify_npc_flag
Thanks to faq for pointing. I checked both udb and ytdb, and they don't use this command yet; If however you use it already check your scripts. (The toggle/add/remove flag must be set in `data_flags`) Sorry for the inconvenience. Alos added a forgotten break. Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
7246e51a13
commit
6b355bd987
4 changed files with 9 additions and 7 deletions
|
|
@ -3020,6 +3020,8 @@ void Map::ScriptsProcess()
|
|||
else
|
||||
pBuddy->SetFlag(UNIT_NPC_FLAGS, step.script->npcFlag.flag);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
sLog.outError("Unknown SCRIPT_COMMAND_ %u called for script id %u.", step.script->command, step.script->id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue