From cab4e2eac82992bc5ceeee646575612903e25124 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Sat, 12 Aug 2006 01:19:54 +0000 Subject: [PATCH] Use ClassUtil.isSameClass(). git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@40 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/as/com/threerings/parlor/game/data/GameConfig.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/parlor/game/data/GameConfig.as b/src/as/com/threerings/parlor/game/data/GameConfig.as index 44c43b91..1986a6e5 100644 --- a/src/as/com/threerings/parlor/game/data/GameConfig.as +++ b/src/as/com/threerings/parlor/game/data/GameConfig.as @@ -133,7 +133,7 @@ public /*abstract*/ class GameConfig extends PlaceConfig public function equals (other :Object) :Boolean { // make sure they're of the same class - if (ClassUtil.getClassName(other) == ClassUtil.getClassName(this)) { + if (ClassUtil.isSameClass(other, this)) { var that :GameConfig = GameConfig(other); return this.rated == that.rated;