diff options
Diffstat (limited to 'games/battlestar/com4.c')
-rw-r--r-- | games/battlestar/com4.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/battlestar/com4.c b/games/battlestar/com4.c index fe1d96b..eac4cf9 100644 --- a/games/battlestar/com4.c +++ b/games/battlestar/com4.c @@ -61,7 +61,7 @@ unsigned int from[]; setbit(inven,value); carrying += objwt[value]; encumber += objcumber[value]; - time++; + gtime++; if (testbit(from,value)) printf("Taken.\n"); else @@ -165,7 +165,7 @@ unsigned int from[]; puts("ties it at the waist. Around her neck hangs a golden amulet."); puts("She bids you to follow her."); pleasure++; - followgod = time; + followgod = gtime; clearbit(location[position].objects,BATHGOD); } else if (!testbit(location[position].objects,BATHGOD)) puts("You're in no position to take her."); @@ -285,7 +285,7 @@ char *name; setbit(location[position].objects,value); else tempwiz = 0; - time++; + gtime++; if (*name == 'K') puts("Drop kicked."); else @@ -354,16 +354,16 @@ eat() case MANGO: printf("%s:\n",objsht[value]); - if (testbit(inven,value) && time > ate - CYCLE && testbit(inven,KNIFE)){ + if (testbit(inven,value) && gtime > ate - CYCLE && testbit(inven,KNIFE)){ clearbit(inven,value); carrying -= objwt[value]; encumber -= objcumber[value]; - ate = max(time,ate) + CYCLE/3; + ate = max(gtime,ate) + CYCLE/3; snooze += CYCLE/10; - time++; + gtime++; puts("Eaten. You can explore a little longer now."); } - else if (time < ate - CYCLE) + else if (gtime < ate - CYCLE) puts("You're stuffed."); else if (!testbit(inven,KNIFE)) puts("You need a knife."); |