Fix undo
authorRichard Fairhurst <richard@systemeD.net>
Fri, 10 Jun 2011 20:25:51 +0000 (21:25 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Fri, 10 Jun 2011 20:25:51 +0000 (21:25 +0100)
net/systemeD/halcyon/connection/actions/RemoveNodeByIndexAction.as

index f62e57c..7021379 100644 (file)
@@ -37,7 +37,7 @@ package net.systemeD.halcyon.connection.actions {
                }
                
                public override function undoAction():uint {
-                       for (var i:uint=removed.length-1; i>=0; i--) {
+                       for (var i:int=removed.length-1; i>=0; i--) {
                                nodeList.splice(index, 0, removed[i]);
                                removed[i].addParent(way);
                                if (fireEvent) {