branchless = better performance.

This commit is contained in:
Bryce Covert
2015-09-15 21:59:08 -07:00
parent c85290791f
commit f4403de5ca
6 changed files with 45 additions and 86 deletions

View File

@@ -485,7 +485,7 @@
:door (assoc (animation->texture screen door)
:x 160 :y 97 :baseline 99
:open door
:door-sound (sound "door.ogg")
:door-sound (utils/load-sound "door.ogg")
:anim-sound-frames {door {1 [:door-sound 1.0]}}
)
:sword (assoc (utils/get-texture "inside-castle/sword.png")