aboutsummaryrefslogtreecommitdiffstats
path: root/usr.c
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2019-06-21 10:05:42 +0200
committerGitHub <noreply@github.com>2019-06-21 10:05:42 +0200
commitb0f0b1b4718758dc2960716fa7ecac09ed35a0c1 (patch)
tree1a9884e1687ecb5ead4eba025538edecf98ba5e8 /usr.c
parent2b3b9dc4649727851004b8223b6af38b57c0c790 (diff)
parentaaeb189cb2e7eb6eb95188c707791be71067e802 (diff)
downloadoldrunner-b0f0b1b4718758dc2960716fa7ecac09ed35a0c1.tar.gz
Merge pull request #1 from polettix/patch-1
Remove segfault
Diffstat (limited to 'usr.c')
-rw-r--r--usr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.c b/usr.c
index af359ac..963130a 100644
--- a/usr.c
+++ b/usr.c
@@ -1,4 +1,6 @@
/* $Id: usr.c,v 1.1.1.1 2010/07/17 17:30:32 culot Exp $ */
+/* vim: et ai sts=2 ts=2 sw=2:
+ * */
/*
* Copyright (c) 2010 Frederic Culot <frederic@culot.org>
@@ -87,7 +89,7 @@ usr_input (void)
case ORKEY_DIG_RIGHT:
hero_dig (MOV_RIGHT);
break;
-
+
case ORKEY_LEVEL_NEXT:
lvl_load_next ();
break;
@@ -98,7 +100,7 @@ usr_input (void)
case ORKEY_SUICIDE:
hero_die ();
break;
-
+
default:
/*
* No action were performed by the user in the time interval.
Un proyecto texto-plano.xyz