mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
made illogical bitwise operations logical
This commit is contained in:
@@ -187,7 +187,7 @@ namespace OpenSim.Region.Environment.Modules
|
||||
{
|
||||
SendPacket();
|
||||
counter++;
|
||||
if ((PacketCounter >= NumPackets) | counter > 100 | (NumPackets == 1) | (request.DiscardLevel == -1))
|
||||
if ((PacketCounter >= NumPackets) || counter > 100 || (NumPackets == 1) || (request.DiscardLevel == -1))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user