Hi, i added new effects to my server and when i was compiling i got this error:
i'm using tfs 0.3.6pl1
[cpp]
sources\protocolgame.cpp||In member function 'void ProtocolGame::sendMagicEffect(const Position&, uint8_t)':|
D:\MIS DOCUMENTOS\Downloads\BETA\sources\protocolgame.cpp|2044|error: comparison is always false due to limited range of data type|
||=== Build finished: 1 errors, 0 warnings ===|
[/cpp]
could someone help me solve this?
Jetro.
i'm using tfs 0.3.6pl1
[cpp]
sources\protocolgame.cpp||In member function 'void ProtocolGame::sendMagicEffect(const Position&, uint8_t)':|
D:\MIS DOCUMENTOS\Downloads\BETA\sources\protocolgame.cpp|2044|error: comparison is always false due to limited range of data type|
||=== Build finished: 1 errors, 0 warnings ===|
[/cpp]
could someone help me solve this?
Jetro.