Allow other players to update entities grabbing you
In theory this should fix a rare King Bobomb softlock
This commit is contained in:
parent
cc1e0e8407
commit
74c44d3053
|
@ -368,7 +368,6 @@ void network_receive_object(struct Packet* p) {
|
||||||
// make sure no one can update an object we're holding
|
// make sure no one can update an object we're holding
|
||||||
if (gNetworkType == NT_SERVER) { // two-player hack: needs priority
|
if (gNetworkType == NT_SERVER) { // two-player hack: needs priority
|
||||||
if (gMarioStates[0].heldObj == o) { return; }
|
if (gMarioStates[0].heldObj == o) { return; }
|
||||||
if (gMarioStates[0].heldByObj == o) { return; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// read the rest of the packet data
|
// read the rest of the packet data
|
||||||
|
|
Loading…
Reference in New Issue