mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
fix an AC script's ability to delete entities
This commit is contained in:
parent
43a3a9a7bd
commit
90adb5f67e
1 changed files with 3 additions and 2 deletions
|
@ -116,8 +116,9 @@ void EntityEditPacketSender::queueEraseEntityMessage(const EntityItemID& entityI
|
||||||
}
|
}
|
||||||
|
|
||||||
// in case this was a clientOnly entity:
|
// in case this was a clientOnly entity:
|
||||||
assert(_myAvatar);
|
if(_myAvatar) {
|
||||||
_myAvatar->clearAvatarEntity(entityItemID);
|
_myAvatar->clearAvatarEntity(entityItemID);
|
||||||
|
}
|
||||||
|
|
||||||
QByteArray bufferOut(NLPacket::maxPayloadSize(PacketType::EntityErase), 0);
|
QByteArray bufferOut(NLPacket::maxPayloadSize(PacketType::EntityErase), 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue