projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed copy-paste errors
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 6f154c1821cbd6f184abbf44cec24238a444882e..0f245a2d0e6d971279ebaab0e7b6157f7a39106d 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1175,7
+1175,9
@@
Lookup:
default: // LCOV_EXCL_LINE
BUG(VOCABULARY_TYPE_N_OVER_1000_NOT_BETWEEN_0_AND_3); // LCOV_EXCL_LINE
}
-
+ if (!is_valid(game)) {
+ exit(1);
+ }
switch (action(command)) {
case GO_TERMINATE:
return true;