Core/Script: Code style.
WaypointReached(uint32 i) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 uiPointId) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 /*waypointId*/) WaypointReached(uint32 uiI) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*i*/) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 uiWPointId) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*wp*/) -> WaypointReached(uint32 waypointId) WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 waypointId) Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
5b7493fc66
commit
391d68be20
67 files changed
+660
-603
No files matched your search
@@ -497,9 +497,9 @@ public:
|
||||
SetEscortPaused(bOnHold);
|
||||
}
|
||||
|
||||
void WaypointReached(uint32 wpId)
|
||||
void WaypointReached(uint32 waypointId)
|
||||
{
|
||||
switch (wpId)
|
||||
switch (waypointId)
|
||||
{
|
||||
case 0:
|
||||
me->SetWalk(false);
|
||||
@@ -507,7 +507,6 @@ public:
|
||||
break;
|
||||
case 1:
|
||||
SetHoldState(true);
|
||||
|
||||
SpawnNPC();
|
||||
if (Creature* temp = Unit::GetCreature(*me, uiKorfaxGUID))
|
||||
DoScriptText(SAY_LIGHT_OF_DAWN07, temp);
|
||||
|
||||
Reference in new issue
Block a user