Skip to content

Commit

Permalink
Fix warnings added in previous commits
Browse files Browse the repository at this point in the history
(based on cmangos/mangos-wotlk@f8370a4)

Signed-off-by: Xfurry <xfurry@cmangos.net>
  • Loading branch information
xfurry committed May 21, 2016
1 parent 1f4858d commit deee26d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -326,7 +326,7 @@ void instance_stratholme::SetData(uint32 uiType, uint32 uiData)
{
DoScriptText(SAY_EPILOGUE, pYsida);
DoUseDoorOrButton(GO_YSIDA_CAGE);
pYsida->GetMotionMaster()->MovePoint(0, aStratholmeLocation[8].m_fX, aStratholmeLocation[8].m_fY, aStratholmeLocation[8].m_fZ, aStratholmeLocation[8].m_fO);
pYsida->GetMotionMaster()->MovePoint(0, aStratholmeLocation[8].m_fX, aStratholmeLocation[8].m_fY, aStratholmeLocation[8].m_fZ);
}
}

Expand Down Expand Up @@ -830,7 +830,7 @@ void instance_stratholme::Update(uint32 uiDiff)
// Open the cage and let Ysida face her doom
if (Creature* pYsida = GetSingleCreatureFromStorage(NPC_YSIDA))
{
pYsida->GetMotionMaster()->MovePoint(0, aStratholmeLocation[8].m_fX, aStratholmeLocation[8].m_fY, aStratholmeLocation[8].m_fZ, aStratholmeLocation[8].m_fO);
pYsida->GetMotionMaster()->MovePoint(0, aStratholmeLocation[8].m_fX, aStratholmeLocation[8].m_fY, aStratholmeLocation[8].m_fZ);
DoUseDoorOrButton(GO_YSIDA_CAGE);
}

Expand Down
2 changes: 1 addition & 1 deletion src/scriptdev2/scripts/world/areatrigger_scripts.cpp
Expand Up @@ -421,7 +421,7 @@ enum
QUEST_SPECIAL_DELIVERY_TO_SHATTRATH = 10280
};

static const WorldLocation haramadTeleportDest(530, -1810.465, 5323.083, -12.428, 2.040);
static const WorldLocation haramadTeleportDest(530, -1810.465f, 5323.083f, -12.428f, 2.040f);

bool AreaTrigger_at_haramad_teleport(Player* pPlayer, AreaTriggerEntry const* /*pAt*/)
{
Expand Down

0 comments on commit deee26d

Please sign in to comment.