Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
hexbog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
763be36
)
remove redundant Array.clone()
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 22:30:04 +0000
(17:30 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 Nov 2013 22:30:04 +0000
(17:30 -0500)
main.coffee
patch
|
blob
|
history
diff --git
a/main.coffee
b/main.coffee
index
6f0cd18
..
c0524a0
100644
(file)
--- a/
main.coffee
+++ b/
main.coffee
@@
-225,7
+225,7
@@
init_board_layout = () ->
unless is_top_tile and fw_other is -1
push i + columns[col_num].height + fw_other
# will be dereferenced later
- space.neighbors = neighbors.clone() # FIXME ?remove ``.clone()``
+ space.neighbors = neighbors
col_offset += column.height
# convert all space.neighbors arrays from containing space ids to referencing the space
for s in spaces