Fix compilation warning in snake.el
* lisp/play/snake.el (snake-reset-game): Avoid warning about unused variable.
This commit is contained in:
@@ -279,7 +279,7 @@ and then start moving it leftwards.")
|
||||
snake-velocity-queue nil)
|
||||
(let ((x snake-initial-x)
|
||||
(y snake-initial-y))
|
||||
(dotimes (i snake-length)
|
||||
(dotimes (_ snake-length)
|
||||
(gamegrid-set-cell x y snake-snake)
|
||||
(setq snake-positions (cons (vector x y) snake-positions))
|
||||
(cl-incf x snake-velocity-x)
|
||||
|
||||
Reference in New Issue
Block a user