mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 12:43:19 +02:00
send to network when an action is deleted, also
This commit is contained in:
parent
3f7f5a2bbd
commit
6ec5b12081
1 changed files with 1 additions and 2 deletions
|
@ -1629,6 +1629,7 @@ bool EntityItem::removeActionInternal(const QUuid& actionID, EntitySimulation* s
|
|||
bool success = true;
|
||||
serializeActions(success, _allActionsDataCache);
|
||||
_dirtyFlags |= Simulation::DIRTY_PHYSICS_ACTIVATION;
|
||||
setActionDataNeedsTransmit(true);
|
||||
return success;
|
||||
}
|
||||
return false;
|
||||
|
@ -1749,8 +1750,6 @@ void EntityItem::checkWaitingToRemove(EntitySimulation* simulation) {
|
|||
assertLocked();
|
||||
foreach(QUuid actionID, _actionsToRemove) {
|
||||
removeActionInternal(actionID, simulation);
|
||||
setActionDataDirty(true);
|
||||
setActionDataNeedsTransmit(true);
|
||||
}
|
||||
_actionsToRemove.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue