From 5cfb56f003d7a8c46589d0e4c1fa51fbcf0490e9 Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Sun, 4 Jan 2009 22:27:37 +0000 Subject: [PATCH] Fix recently introduced error where int values could not be written out as objects, particularly problematic for generic containers like StreamableHashMap. This was causing the creation of tables to fail for any game with a "range" custom parameter. There is likely a better fix for this, but this will do until we think of it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5617 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/io/Translations.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/as/com/threerings/io/Translations.as b/src/as/com/threerings/io/Translations.as index e5dce552d..4c4191469 100644 --- a/src/as/com/threerings/io/Translations.as +++ b/src/as/com/threerings/io/Translations.as @@ -63,5 +63,7 @@ public class Translations addTranslation("com.threerings.util.Float", "java.lang.Float"); addTranslation("Array", "[Ljava.lang.Object;"); addTranslation("flash.utils.ByteArray", "[B"); + addTranslation("int", "java.lang.Double"); // we'd rather not have this one + addTranslation("Number", "java.lang.Double"); } }