* 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
@@ -59,9 +59,9 @@ enum Achievements
ACHIEV_OH_NOVOS = 2057
};
static Position AddSpawnPoint = { -379.20, -816.76, 59.70 };
static Position CrystalHandlerSpawnPoint = { -326.626343, -709.956604, 27.813314 };
static Position AddDestinyPoint = { -379.314545, -772.577637, 28.58837 };
static Position AddSpawnPoint = { -379.20f, -816.76f, 59.70f };
static Position CrystalHandlerSpawnPoint = { -326.626343f, -709.956604f, 27.813314f };
static Position AddDestinyPoint = { -379.314545f, -772.577637f, 28.58837f };
class boss_novos : public CreatureScript
{
@@ -52,7 +52,7 @@ enum Creatures
NPC_DRAKKARI_INVADER_2 = 27709
};
Position AddSpawnPoint = { -260.493011, -622.968018, 26.605301, 3.036870 };
Position AddSpawnPoint = { -260.493011f, -622.968018f, 26.605301f, 3.036870f };
class boss_trollgore : public CreatureScript
{
@@ -82,7 +82,7 @@ public:
void Reset()
{
uiConsumeTimer = 15*IN_MILLISECONDS;
uiAuraCountTimer = 15.5*IN_MILLISECONDS;
uiAuraCountTimer = 15.5f*IN_MILLISECONDS;
uiCrushTimer = urand(1*IN_MILLISECONDS,5*IN_MILLISECONDS);
uiInfectedWoundTimer = urand(60*IN_MILLISECONDS,10*IN_MILLISECONDS);
uiExplodeCorpseTimer = 3*IN_MILLISECONDS;