projects
/
potlatch2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8133f80
)
Bugfix - indexOfNode should return int not uint
author
Andy Allan
<gravitystorm@gmail.com>
Sat, 29 May 2010 17:43:40 +0000
(17:43 +0000)
committer
Andy Allan
<gravitystorm@gmail.com>
Sat, 29 May 2010 17:43:40 +0000
(17:43 +0000)
net/systemeD/halcyon/connection/Way.as
patch
|
blob
|
history
diff --git
a/net/systemeD/halcyon/connection/Way.as
b/net/systemeD/halcyon/connection/Way.as
index 6a1d14fe9372fad6af33e49f21533b89a8d519ca..4b50303ee360734d255faeef5f72bf67490453bb 100644
(file)
--- a/
net/systemeD/halcyon/connection/Way.as
+++ b/
net/systemeD/halcyon/connection/Way.as
@@
-73,7
+73,8
@@
package net.systemeD.halcyon.connection {
return nodes.length + 1;
}
- public function indexOfNode(node:Node):uint {
+ // return the index of the Node, or -1 if not found
+ public function indexOfNode(node:Node):int {
return nodes.indexOf(node);
}