chiark
/
gitweb
/
~mdw
/
atoms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508a54a
)
atoms.lisp: Reorder the notifications in `play-cell'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Mar 2013 22:34:41 +0000
(22:34 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Mar 2013 22:34:41 +0000
(22:34 +0000)
Really :processing-move should always come before :start-turn.
atoms.lisp
patch
|
blob
|
blame
|
history
diff --git
a/atoms.lisp
b/atoms.lisp
index 5dc0def11eb6624367af4c06de80cf1586334bca..fa65755b3b179223be8f2035f6bbd7b7c4ee72f0 100644
(file)
--- a/
atoms.lisp
+++ b/
atoms.lisp
@@
-362,8
+362,8
@@
(defmethod play-cell ((game atom-game) player i j)
(unless (cell-played cell player-index)
(return-from escape))
(setf (player-state player) :playing)
- (
perform-explosions game (list cell))
)
-
(changed game :processing-move
)))))
+ (
changed game :processing-move
)
+
(perform-explosions game (list cell))
)))))
(defmethod restart-game ((game atom-game) &key grid players)
(game-cancel-timeout game)