From 0cb3330de715c94f5ebd70d65f23242ff0bb8bc8 Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Mon, 3 Nov 2008 19:26:57 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/presents/client/InvocationDirector.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/presents/client/InvocationDirector.as b/src/as/com/threerings/presents/client/InvocationDirector.as index 40db296f0..60bf3a6f5 100644 --- a/src/as/com/threerings/presents/client/InvocationDirector.as +++ b/src/as/com/threerings/presents/client/InvocationDirector.as @@ -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++; }