summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.trap.c')
-rw-r--r--games/hack/hack.trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.trap.c b/games/hack/hack.trap.c
index 502773d..ea99f2f 100644
--- a/games/hack/hack.trap.c
+++ b/games/hack/hack.trap.c
@@ -22,7 +22,7 @@ char *traps[] = {
struct trap *
maketrap(x,y,typ)
-x,y,typ;
+int x,y,typ;
{
struct trap *ttmp;
@@ -268,7 +268,7 @@ vtele() {
struct mkroom *croom;
for(croom = &rooms[0]; croom->hx >= 0; croom++)
if(croom->rtype == VAULT) {
- x,y;
+ int x,y;
x = rn2(2) ? croom->lx : croom->hx;
y = rn2(2) ? croom->ly : croom->hy;
OpenPOWER on IntegriCloud