Evaluate database_plr.cpp & database_plr.h

This commit is contained in:
deed 2019-08-29 11:28:14 +02:00
parent 5f7ce35d40
commit 21cfadcb8f

View file

@ -9157,7 +9157,7 @@ inline void _getProp(const CCDBSynchronised &db, ICDBStructNode *node, NLMISC::C
{
// Check that the value is not out of database precision
STOP_IF(value > (1<<4)-1, "setSTATUS : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 4 bits");
STOP_IF(value > (1<<5)-1, "setSTATUS : Value out of bound : trying to store "<<value<<" in a unsigned field limited to 5 bits");
_setProp(dbGroup, _STATUS, value, forceSending);