* 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:
azazel
2010-08-22 23:46:40 +06:00
parent d38135d1fd
commit 399e35f8f5
189 changed files with 2842 additions and 2817 deletions
+2 -2
View File
@@ -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?
}