From 235e83e4ca9692687bd208b7b93f28dcb353ce6e Mon Sep 17 00:00:00 2001 From: Boutade Date: Thu, 17 Oct 2019 19:04:37 -0500 Subject: nance starts on cardboard --- the-price-of-a-cup-of-coffee.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/the-price-of-a-cup-of-coffee.lisp b/the-price-of-a-cup-of-coffee.lisp index 19888d3..c2620d7 100644 --- a/the-price-of-a-cup-of-coffee.lisp +++ b/the-price-of-a-cup-of-coffee.lisp @@ -291,8 +291,9 @@ ;; boot up nance (setf *nance* (make-instance 'hero :sheet *nance-texture*)) - (setf (sdl2:rect-x (pos *nance*)) - (round (* 0.5 (- +window-width+ (sdl2:rect-width (pos *nance*)))))) + (setf (sdl2:rect-x (pos *nance*)) 292) + (setf (sdl2:rect-y (pos *nance*)) 38) + (push *nance* *to-render-by-y*) -- cgit v1.2.3