Bugfixes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3876 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-22 03:45:46 +00:00
parent 50e36adb6b
commit 605eca8565
3 changed files with 3 additions and 3 deletions
@@ -29,7 +29,7 @@ public class ObjectOutputStream
var cmap :ClassMapping = _classMap[cname];
// create a class mapping if we've not got one
if (cmap === undefined) {
if (cmap == null) {
var streamer :Streamer = Streamer.getStreamer(obj);
// streamer may be null to indicate a Streamable object
if (streamer === undefined) {
+1 -1
View File
@@ -42,7 +42,7 @@ public class Streamer
createStreamers();
}
for (var ii :int = 0; ii < _streamers.lenght; ii++) {
for (var ii :int = 0; ii < _streamers.length; ii++) {
if (_streamers[ii].isStreamerFor(obj)) {
return _streamers[ii];
}
@@ -292,7 +292,7 @@ public class Client extends EventDispatcher
protected var _bstrap :BootstrapData;
/** Manages invocation services. */
protected var _invdir :InvocationDirector;
protected var _invdir :InvocationDirector = new InvocationDirector();
/** Ticks. */
protected var _tickInterval :Timer;