mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
nuke tabs
This commit is contained in:
parent
0bf26d3e8d
commit
a626464ea7
16 changed files with 1431 additions and 1431 deletions
|
|
@ -2651,8 +2651,8 @@ std::string Creature::GetScriptName() const
|
|||
|
||||
uint32 Creature::GetScriptId() const
|
||||
{
|
||||
// scripts bound to DB guid have priority over ones bound to creature entry
|
||||
return sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, -int32(GetGUIDLow())) ? sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, -int32(GetGUIDLow())) : sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, GetEntry());
|
||||
// scripts bound to DB guid have priority over ones bound to creature entry
|
||||
return sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, -int32(GetGUIDLow())) ? sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, -int32(GetGUIDLow())) : sScriptMgr.GetBoundScriptId(SCRIPTED_UNIT, GetEntry());
|
||||
}
|
||||
|
||||
VendorItemData const* Creature::GetVendorItems() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue