I have this problem when i'm trying to rebuild project:
At the end of compiling in protocolgame.cpp i have red marked:
and at the end of compiling:
Need help! :<
At the end of compiling in protocolgame.cpp i have red marked:
Code:
if(type > SHOOT_EFFECT_NONE || (!canSee(from) && !canSee(to)))
C:\Users\Remek\Desktop\DBWarrior\0.3.6pl1.r83 (Silnik)\protocolgame.cpp In member function `void ProtocolGame::sendDistanceShoot(const Position&, const Position&, uint8_t)': 2055 C:\Users\Remek\Desktop\DBWarrior\0.3.6pl1.r83 (Silnik)\protocolgame.cpp [Warning] comparison is always false due to limited range of data type
C:\Users\Remek\Desktop\DBWarrior\0.3.6pl1.r83 (Silnik)\protocolgame.cpp In member function `void ProtocolGame::sendMagicEffect(const Position&, uint8_t)':
2068 C:\Users\Remek\Desktop\DBWarrior\0.3.6pl1.r83 (Silnik)\protocolgame.cpp [Warning] comparison is always false due to limited range of data type
C:\Users\Remek\Desktop\DBWarrior\0.3.6pl1.r83 (Silnik)\dev-cpp\Makefile.win [Build Error] [TheForgottenServer-console.exe] Error 1
Need help! :<