aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/lib/w.js
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-10-14 20:42:51 +1200
committerDevine Lu Linvega <[email protected]>2018-10-14 20:42:51 +1200
commit54c94e3ed3287a9641da9b01b711ae21c8385154 (patch)
tree76acfdbb00ecd8121aaf41f0deffd4fa121222f1 /core/lib/w.js
parent59997abbbdc7df2de1684b0c9957122fb977afbd (diff)
downloadOrca-54c94e3ed3287a9641da9b01b711ae21c8385154.tar.gz
Orca-54c94e3ed3287a9641da9b01b711ae21c8385154.zip
Implemented haste
Diffstat (limited to 'core/lib/w.js')
-rw-r--r--core/lib/w.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/w.js b/core/lib/w.js
index f6fab5f..8d54d6c 100644
--- a/core/lib/w.js
+++ b/core/lib/w.js
@@ -9,7 +9,7 @@ function FnW (pico, x, y) {
this.glyph = 'w'
this.info = 'Moves westward, or bangs.'
- this.operation = function () {
+ this.haste = function () {
if (this.signal()) { return }
if (this.is_free(-1, 0) != true) { this.replace('b'); this.lock(); return }
this.move(-1, 0)