Refix for long running clients (r5483). I must have introduced this at the last minute when switching my original -32768 to use Short.MIN_VALUE instead, forgetting to remove the negation

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5490 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-11-03 19:26:57 +00:00
parent 055ae0cc98
commit 0cb3330de7
@@ -352,7 +352,7 @@ public class InvocationDirector
// make the values in our _listeners map reliable. Cleverer ways to wrapround may exist.
var current :int = _requestId;
if (_requestId == Short.MAX_VALUE) { // x7fff
_requestId = -Short.MIN_VALUE; // x8000
_requestId = Short.MIN_VALUE; // x8000
} else {
_requestId++;
}