projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e2cb3c
)
Be consistent
author
NHOrus
<jy6x2b32pie9@yahoo.com>
Sun, 10 Sep 2017 21:32:21 +0000
(
00:32
+0300)
committer
NHOrus
<jy6x2b32pie9@yahoo.com>
Sun, 10 Sep 2017 21:58:13 +0000
(
00:58
+0300)
actions.c
patch
|
blob
|
history
advent.h
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index e41c7bf5913b3918c84787af649e55ae6103e8fc..059d92b5e02a19aa979db446ee2d6d33e15ddf15 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-3,6
+3,7
@@
#include <string.h>
#include "advent.h"
#include "dungeon.h"
+#include <inttypes.h>
static int fill(verb_t, obj_t);
diff --git
a/advent.h
b/advent.h
index 788d65934e8b88cea5019e40136927f5ed261456..27250b7dd0f198bd550cabcf2ab1148b571f2624 100644
(file)
--- a/
advent.h
+++ b/
advent.h
@@
-119,7
+119,7
@@
typedef long loc_t; // index into the locations array */
typedef long turn_t; // turn counter or threshold */
struct game_t {
- int
64
_t lcg_x;
+ int
32
_t lcg_x;
long abbnum; // How often to print long descriptions
score_t bonus; // What kind of finishing bonus we are getting
loc_t chloc; // pirate chest location