summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/key.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.cpp b/src/key.cpp
index 808c527..615119c 100644
--- a/src/key.cpp
+++ b/src/key.cpp
@@ -49,7 +49,7 @@ cg_key_init(mrb_state *mrb)
mrb_define_const(mrb, cg_mKey, "W", mrb_int_value(mrb, SDLK_w));
mrb_define_const(mrb, cg_mKey, "X", mrb_int_value(mrb, SDLK_x));
mrb_define_const(mrb, cg_mKey, "Y", mrb_int_value(mrb, SDLK_y));
- mrb_define_const(mrb, cg_mKey, "Z", mrb_int_value(mrb, SDLK_x));
+ mrb_define_const(mrb, cg_mKey, "Z", mrb_int_value(mrb, SDLK_z));
mrb_define_const(mrb, cg_mKey, "UP", mrb_int_value(mrb, SDLK_UP));
mrb_define_const(mrb, cg_mKey, "DOWN", mrb_int_value(mrb, SDLK_DOWN));