made illogical bitwise operations logical

This commit is contained in:
Jeff Ames
2007-10-31 05:29:51 +00:00
parent 33d6222e8d
commit 7f0d836d35
5 changed files with 8 additions and 8 deletions

View File

@@ -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;
}