port over some changes from Trinity version including one possible memory leak fix
[AHbot.git] / sql / updates / 0.7 / 3860_creature_template.sql
blobd30c075f7228979f16942bee17a887894ac78e52
1 UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `npcflag`&1024 and `npcflag`&512;
2 UPDATE `creature_template` SET `npcflag`=`npcflag`& ~1024 WHERE `npcflag`&1024 and (`npcflag`&512)=0;