bug fixes.

This commit is contained in:
Bryce Covert
2015-08-25 23:17:22 -07:00
parent ecbec4250a
commit fee02f0a58
6 changed files with 10 additions and 11 deletions

View File

@@ -211,6 +211,7 @@
{:run #(actions/talk entities :ego %)}
"So I'm destined to be a sword?"
{:run #(actions/talk entities :ego %)}]})
(actions/do-dialogue entities :fairy-godfather "No, no, no!")
(actions/update-entities entities #(update-in % [:room :entities :fairy-godfather] dissoc :path))
(actions/walk-straight-to entities :fairy-godfather [87 120] :speed 1.75 :update-baseline? false)
(actions/update-entities entities (fn [e] (update-in e [:room :entities :fairy-godfather] assoc :path (catmull-rom-spline (map #(apply vector-2* %) [[87 120] [87 124]]) true))))