katos
Noble Member
Hey all!
Getting a few warnings on a script, and it doesn't work in-game, but the core compiles.
This one has me rather stumped. I am wondering if i'd be best setting the floats to:
Any help would be much appreciated.
The script: http://pastebin.com/fg6t6CtP
Regards,
Katos.
Getting a few warnings on a script, and it doesn't work in-game, but the core compiles.
Warning 3 warning C4305: 'initializing' : truncation from 'double' to 'float' D:\katos\test core\dev\src\server\scripts\Custom\Arena_Graveyard.cpp 15 1 scripts
Warning 4 warning C4305: 'initializing' : truncation from 'double' to 'float' D:\katos\test core\dev\src\server\scripts\Custom\Arena_Graveyard.cpp 16 1 scripts
Warning 5 warning C4305: 'initializing' : truncation from 'double' to 'float' D:\katos\test core\dev\src\server\scripts\Custom\Arena_Graveyard.cpp 17 1 scripts
Warning 6 warning C4305: 'initializing' : truncation from 'double' to 'float' D:\katos\test core\dev\src\server\scripts\Custom\Arena_Graveyard.cpp 18 1 scripts
This one has me rather stumped. I am wondering if i'd be best setting the floats to:
Code:
const float x = -8556.891602;
const float y = 1954.818481;
const float z = 100.351578;
const float o = 5.100673;
Any help would be much appreciated.
The script: http://pastebin.com/fg6t6CtP
Regards,
Katos.