Core:
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings * fix some other warnings here and there --HG-- branch : trunk
This commit is contained in:
@@ -184,7 +184,7 @@ public:
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+1)
|
||||
{
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
pCreature->SummonCreature(NPC_ARGENT_VALIANT,8575.451,952.472,547.554,0.38);
|
||||
pCreature->SummonCreature(NPC_ARGENT_VALIANT,8575.451f,952.472f,547.554f,0.38f);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -211,7 +211,7 @@ public:
|
||||
{
|
||||
npc_argent_valiantAI(Creature* pCreature) : ScriptedAI(pCreature)
|
||||
{
|
||||
pCreature->GetMotionMaster()->MovePoint(0,8599.258,963.951,547.553);
|
||||
pCreature->GetMotionMaster()->MovePoint(0,8599.258f,963.951f,547.553f);
|
||||
pCreature->setFaction(35); //wrong faction in db?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user