From 220c3370e5303fcfc52c76b48d0f57397f42c47c Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 11 Jun 2016 20:31:29 +0200 Subject: [PATCH] Fixed: Compilation --- .../src/frontend_service/property_history.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/ryzom/server/src/frontend_service/property_history.h b/code/ryzom/server/src/frontend_service/property_history.h index 8b0a42a17..d42758e40 100644 --- a/code/ryzom/server/src/frontend_service/property_history.h +++ b/code/ryzom/server/src/frontend_service/property_history.h @@ -354,18 +354,18 @@ 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; }