[Client] Disable clientside deletion of objects through console/scripts

Unfortunately, disabling clientside deletion of summons and items that can be picked up requires extra work on actors and inventories respectively, to avoid buggy situations.
0.6.3
David Cernat 7 years ago
parent 8d9fde810e
commit acdaf1a282

@ -773,7 +773,16 @@ namespace MWScript
End of tes3mp addition
*/
MWBase::Environment::get().getWorld()->deleteObject(ptr);
/*
Start of tes3mp change (major)
Disable unilateral deletion on this client and expect the server's reply to our
packet to do it instead
*/
//MWBase::Environment::get().getWorld()->deleteObject(ptr);
/*
End of tes3mp change (major)
*/
}
else if (parameter == 0)
MWBase::Environment::get().getWorld()->undeleteObject(ptr);

Loading…
Cancel
Save