Fixed: Compilation
This commit is contained in:
parent
de4ded9f18
commit
8c2dade6c4
1 changed files with 8 additions and 8 deletions
|
@ -354,19 +354,19 @@ public:
|
||||||
if ( entity.AssociationBitsSent == currentAssociationBits )
|
if ( entity.AssociationBitsSent == currentAssociationBits )
|
||||||
{
|
{
|
||||||
//nlassertex(entity.Used, ("client=%d, entity=%d property=%d", clientId, entityId, property));
|
//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;
|
entity.Mileage = 0;
|
||||||
break;
|
}
|
||||||
default:
|
else
|
||||||
{
|
{
|
||||||
CPropertyEntry &entry = entity.Properties[property];
|
CPropertyEntry &entry = entity.Properties[property];
|
||||||
entry.HasValue = false;
|
entry.HasValue = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue