mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 16:56:19 +00:00
Merge with develop
This commit is contained in:
parent
e3c977ee57
commit
8ab7ef6149
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue