summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.wizard.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.wizard.c')
-rw-r--r--games/hack/hack.wizard.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/hack/hack.wizard.c b/games/hack/hack.wizard.c
index 8bc7f36..f4a4712 100644
--- a/games/hack/hack.wizard.c
+++ b/games/hack/hack.wizard.c
@@ -15,8 +15,8 @@ char wizapp[] = "@DNPTUVXcemntx";
/* If he has found the Amulet, make the wizard appear after some time */
amulet(){
- register struct obj *otmp;
- register struct monst *mtmp;
+ struct obj *otmp;
+ struct monst *mtmp;
if(!flags.made_amulet || !flags.no_of_wizards)
return;
@@ -35,7 +35,7 @@ amulet(){
}
wiz_hit(mtmp)
-register struct monst *mtmp;
+struct monst *mtmp;
{
/* if we have stolen or found the amulet, we disappear */
if(mtmp->minvent && mtmp->minvent->olet == AMULET_SYM &&
@@ -47,7 +47,7 @@ register struct monst *mtmp;
/* if it is lying around someplace, we teleport to it */
if(!carrying(AMULET_OF_YENDOR)) {
- register struct obj *otmp;
+ struct obj *otmp;
for(otmp = fobj; otmp; otmp = otmp->nobj)
if(otmp->olet == AMULET_SYM && !otmp->spe) {
@@ -81,9 +81,9 @@ hithim:
}
inrange(mtmp)
-register struct monst *mtmp;
+struct monst *mtmp;
{
- register schar tx,ty;
+ schar tx,ty;
/* do nothing if cancelled (but make '1' say something) */
if(mtmp->data->mlet != '1' && mtmp->mcan)
@@ -167,7 +167,7 @@ register struct monst *mtmp;
aggravate()
{
- register struct monst *mtmp;
+ struct monst *mtmp;
for(mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
mtmp->msleep = 0;
@@ -177,9 +177,9 @@ aggravate()
}
clonewiz(mtmp)
-register struct monst *mtmp;
+struct monst *mtmp;
{
- register struct monst *mtmp2;
+ struct monst *mtmp2;
if(mtmp2 = makemon(PM_WIZARD, mtmp->mx, mtmp->my)) {
flags.no_of_wizards = 2;
OpenPOWER on IntegriCloud