* 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
@@ -30,7 +30,7 @@ enum eSpells
#define GOSSIP_ITEM_MORRIDUNE "Please port me to Darnassus"
const Position HomePosition = {-815.817,-145.299,-25.870, 0};
const Position HomePosition = {-815.817f,-145.299f,-25.870f, 0};
class go_blackfathom_altar : public GameObjectScript
{
@@ -207,7 +207,7 @@ public:
switch(uiAction)
{
case GOSSIP_ACTION_INFO_DEF+1:
pPlayer->TeleportTo(1,9952.239,2284.277,1341.394,1.595);
pPlayer->TeleportTo(1,9952.239f,2284.277f,1341.394f,1.595f);
pPlayer->CLOSE_GOSSIP_MENU();
break;
}
@@ -242,7 +242,7 @@ public:
{
case 4:
SetEscortPaused(true);
me->SetOrientation(1.775791);
me->SetOrientation(1.775791f);
me->SendMovementFlagUpdate();
me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
DoScriptText(SAY_MORRIDUNE_2,me);
@@ -36,19 +36,19 @@ EndScriptData */
const Position LorgusPosition[4] =
{
{ -458.500610, -38.343079, -33.474445 },
{ -469.423615, -88.400513, -39.265102 },
{ -622.354980, -10.350100, -22.777000 },
{ -759.640564, 16.658913, -29.159529 }
{ -458.500610f, -38.343079f, -33.474445f },
{ -469.423615f, -88.400513f, -39.265102f },
{ -622.354980f, -10.350100f, -22.777000f },
{ -759.640564f, 16.658913f, -29.159529f }
};
const Position SpawnsLocation[] =
{
{-775.431, -153.853, -25.871, 3.207},
{-775.404, -174.132, -25.871, 3.185},
{-862.430, -154.937, -25.871, 0.060},
{-862.193, -174.251, -25.871, 6.182},
{-863.895, -458.899, -33.891, 5.637}
{-775.431f, -153.853f, -25.871f, 3.207f},
{-775.404f, -174.132f, -25.871f, 3.185f},
{-862.430f, -154.937f, -25.871f, 0.060f},
{-862.193f, -174.251f, -25.871f, 6.182f},
{-863.895f, -458.899f, -33.891f, 5.637f}
};
class instance_blackfathom_deeps : public InstanceMapScript