*Move addcre/go functions from opvp to objmgr.

*Do not save respawn time for internally added cre/go.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-31 14:26:57 -05:00
parent 8d1f4f9ea0
commit da871e2fc0
10 changed files with 130 additions and 120 deletions

View File

@@ -37,6 +37,10 @@ bool OPvPWintergrasp::SetupOutdoorPvP()
//m_defender = TEAM_ALLIANCE;
//gameeventmgr.StartInternalEvent(GameEventWintergraspDefender[m_defender]);
//Titan Relic eventid = 19982
objmgr.AddGameObject(192829, 571, 5444.6, 2840.8, 420.43, 0);
return true;
}
@@ -48,6 +52,8 @@ uint32 OPvPWintergrasp::GetCreatureEntry(uint32 guidlow, uint32 entry)
{
case 30739: return 30740;
case 30740: return 30739;
case 30400: return 30499;
case 30499: return 30400;
}
}
return entry;