projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix to Gitlab issue #32. Now SEED and WASTE are in adventure.yaml
[open-adventure.git]
/
cheat.c
diff --git
a/cheat.c
b/cheat.c
index 96ef4c30178fcfbe180b491eac29276bfc5ed1d2..b75fccf9c47951f217e7d4696357b97817ff8d21 100644
(file)
--- a/
cheat.c
+++ b/
cheat.c
@@
-38,7
+38,7
@@
int main(int argc, char *argv[])
while ((ch = getopt(argc, argv, opts)) != EOF) {
switch (ch) {
case 'd':
while ((ch = getopt(argc, argv, opts)) != EOF) {
switch (ch) {
case 'd':
- game.numdie = (
long
)atoi(optarg);
+ game.numdie = (
turn_t
)atoi(optarg);
printf("cheat: game.numdie = %ld\n", game.numdie);
break;
case 'l':
printf("cheat: game.numdie = %ld\n", game.numdie);
break;
case 'l':