diff options
author | thorpej <thorpej@NetBSD.org> | 1997-03-29 20:42:16 +0000 |
---|---|---|
committer | thorpej <thorpej@NetBSD.org> | 1997-03-29 20:42:16 +0000 |
commit | 77949edf212dfa805753ec2d69e3e91181793816 (patch) | |
tree | 38dc3a79b1e3202a6905ed8ef8bf8c43e510bd44 /larn/data.c | |
parent | 784e053db46cac58a3b6f04fab70c712fc6f968b (diff) | |
download | bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.gz bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.zst bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.zip |
Make these compile on the PowerPC (an unsigned char system).
Diffstat (limited to 'larn/data.c')
-rw-r--r-- | larn/data.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/larn/data.c b/larn/data.c index e0e7d43f..811e9a05 100644 --- a/larn/data.c +++ b/larn/data.c @@ -1,4 +1,4 @@ -/* $NetBSD: data.c,v 1.5 1995/03/23 08:33:17 cgd Exp $ */ +/* $NetBSD: data.c,v 1.6 1997/03/29 20:42:18 thorpej Exp $ */ /*- * Copyright (c) 1988 The Regents of the University of California. @@ -37,12 +37,12 @@ #if 0 static char sccsid[] = "@(#)data.c 5.3 (Berkeley) 5/13/91"; #else -static char rcsid[] = "$NetBSD: data.c,v 1.5 1995/03/23 08:33:17 cgd Exp $"; +static char rcsid[] = "$NetBSD: data.c,v 1.6 1997/03/29 20:42:18 thorpej Exp $"; #endif #endif /* not lint */ /* data.c Larn is copyrighted 1986 by Noah Morgan. */ -#define NODEFS +/* #define NODEFS */ #include "header.h" /* @@ -142,7 +142,7 @@ char sex=1; /* default is a man 0=woman */ char boldon=1; /* 1=bold objects 0=inverse objects */ char ckpflag=0; /* 1 if want checkpointing of game, 0 otherwise */ char cheat=0; /* 1 if the player has fudged save file */ -char level=0; /* cavelevel player is on = c[CAVELEVEL] */ +short level=0; /* cavelevel player is on = c[CAVELEVEL] */ char wizard=0; /* the wizard mode flag */ short lastnum=0; /* the number of the monster last hitting player */ short hitflag=0; /* flag for if player has been hit when running */ |