Fixed: Compilation

--HG--
branch : develop
This commit is contained in:
kervala 2016-06-11 20:31:29 +02:00
parent 52df4c8e56
commit 0c2535c4a0

View file

@ -354,19 +354,19 @@ public:
if ( entity.AssociationBitsSent == currentAssociationBits )
{
//nlassertex(entity.Used, ("client=%d, entity=%d property=%d", clientId, entityId, property));
switch ( property )
if (property == CLFECOMMON::PROPERTY_DISASSOCIATION)
{
// don't do anything
}
else if (property == CLFECOMMON::PROPERTY_POSITION)
{
case CLFECOMMON::PROPERTY_DISASSOCIATION:
break;
case CLFECOMMON::PROPERTY_POSITION:
entity.Mileage = 0;
break;
default:
}
else
{
CPropertyEntry &entry = entity.Properties[property];
entry.HasValue = false;
}
}
return true;
}
else