More detection of negatives.

0.7.1-dev
Diva Canto 2011-02-09 08:08:57 -08:00
parent 473fac4dc7
commit 477a869fb2
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
content = Math.Min(content + dripAmount, maxBurst); content = Math.Min(content + dripAmount, maxBurst);
lastDrip = now; lastDrip = now;
if (content < 0)
Console.WriteLine("MAY DAY MAY DAY! Content is " + content + ". This should not happen");
return true; return true;
} }
} }