diff options
Diffstat (limited to 'games/hack/hack.zap.c')
-rw-r--r-- | games/hack/hack.zap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.zap.c b/games/hack/hack.zap.c index 20f5a91..957b46c44 100644 --- a/games/hack/hack.zap.c +++ b/games/hack/hack.zap.c @@ -386,7 +386,7 @@ boomhit(dx,dy) { } char -dirlet(dx,dy) dx,dy; { +dirlet(dx,dy) int dx,dy; { return (dx == dy) ? '\\' : (dx && dy) ? '/' : dx ? '-' : '|'; } @@ -543,7 +543,7 @@ int dx,dy; zhit(mon,type) /* returns damage to mon */ struct monst *mon; -type; +int type; { int tmp = 0; @@ -595,7 +595,7 @@ struct obj *obj; rloco(obj) struct obj *obj; { - tx,ty,otx,oty; + int tx,ty,otx,oty; otx = obj->ox; oty = obj->oy; |