* 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
@@ -60,11 +60,11 @@ enum eKelidan
const float ShadowmoonChannelers[5][4]=
{
{302,-87,-24.4,0.157},
{321,-63.5,-24.6,4.887},
{346,-74.5,-24.6,3.595},
{344,-103.5,-24.5,2.356},
{316,-109,-24.6,1.257}
{302.0f,-87.0f,-24.4f,0.157f},
{321.0f,-63.5f,-24.6f,4.887f},
{346.0f,-74.5f,-24.6f,3.595f},
{344.0f,-103.5f,-24.5f,2.356f},
{316.0f,-109.0f,-24.6f,1.257f}
};
class boss_kelidan_the_breaker : public CreatureScript
@@ -64,7 +64,7 @@ enum eSays
EMOTE = -1543025,
};
const float VazrudenMiddle[3] = {-1406.5, 1746.5, 81.2};
const float VazrudenMiddle[3] = {-1406.5f, 1746.5f, 81.2f};
const float VazrudenRing[2][3] =
{
{-1430, 1705, 112},
@@ -371,7 +371,7 @@ class boss_vazruden_the_herald : public CreatureScript
{
CAST_AI(boss_nazan::boss_nazanAI, pSummoned->AI())->VazrudenGUID = VazrudenGUID;
pSummoned->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
pSummoned->SetSpeed(MOVE_FLIGHT, 2.5);
pSummoned->SetSpeed(MOVE_FLIGHT, 2.5f);
if (pVictim)
AttackStartNoMove(pVictim);
}
@@ -55,9 +55,9 @@ enum eCreatures
#define TARGET_NUM 5
float AssassEntrance[3] = {275.136,-84.29,2.3}; // y -8
float AssassExit[3] = {184.233,-84.29,2.3}; // y -8
float AddsEntrance[3] = {306.036,-84.29,1.93};
float AssassEntrance[3] = {275.136f,-84.29f,2.3f}; // y -8
float AssassExit[3] = {184.233f,-84.29f,2.3f}; // y -8
float AddsEntrance[3] = {306.036f,-84.29f,1.93f};
class boss_warchief_kargath_bladefist : public CreatureScript
{