EvilSkillz
Back
Hello I used Stain Dev v 2 for compile
can't use codeblocks cuz I don't know why I can get library :O
anyway
I have this error
here are those lines
can't use codeblocks cuz I don't know why I can get library :O
anyway
I have this error
Code:
D:\Others\TFS 0.2.8 (8.60) Source\commands.cpp In member function `void Commands::playerKills(Player*, const std::string&, const std::string&)':
1286 D:\Others\TFS 0.2.8 (8.60) Source\commands.cpp [Warning] converting to `int32_t' from `double'
1288 D:\Others\TFS 0.2.8 (8.60) Source\commands.cpp [Warning] converting to `int32_t' from `double'
1289 D:\Others\TFS 0.2.8 (8.60) Source\commands.cpp [Warning] converting to `int32_t' from `double'
here are those lines
Code:
int32_t frags = ceil(player->redSkullTicks / (double)fragTime);
int32_t remainingTime = (player->redSkullTicks % fragTime) / 1000;
int32_t hours = floor(remainingTime / 3600);
int32_t minutes = floor((remainingTime % 3600) / 60);