Whuirespace-only change.
This commit is contained in:
parent
b425de4f28
commit
058e566e60
1 changed files with 150 additions and 150 deletions
14
main.c
14
main.c
|
@ -490,7 +490,8 @@ static bool playermove(FILE *cmdin, token_t verb)
|
||||||
* game.oldloc, or to game.oldlc2 If game.oldloc has forced-motion.
|
* game.oldloc, or to game.oldlc2 If game.oldloc has forced-motion.
|
||||||
* K2 saves entry -> forced loc -> previous loc. */
|
* K2 saves entry -> forced loc -> previous loc. */
|
||||||
K=game.oldloc;
|
K=game.oldloc;
|
||||||
if(FORCED(K))K=game.oldlc2;
|
if (FORCED(K))
|
||||||
|
K=game.oldlc2;
|
||||||
game.oldlc2=game.oldloc;
|
game.oldlc2=game.oldloc;
|
||||||
game.oldloc=game.loc;
|
game.oldloc=game.loc;
|
||||||
K2=0;
|
K2=0;
|
||||||
|
@ -504,12 +505,10 @@ static bool playermove(FILE *cmdin, token_t verb)
|
||||||
if (FORCED(LL) && MOD((labs(TRAVEL[KEY[LL]])/1000),1000) == K)
|
if (FORCED(LL) && MOD((labs(TRAVEL[KEY[LL]])/1000),1000) == K)
|
||||||
K2=KK;
|
K2=KK;
|
||||||
}
|
}
|
||||||
if(TRAVEL[KK] < 0)
|
if (TRAVEL[KK] >= 0) {
|
||||||
goto L23;
|
|
||||||
KK=KK+1;
|
KK=KK+1;
|
||||||
goto L21;
|
goto L21;
|
||||||
|
}
|
||||||
L23:
|
|
||||||
KK=K2;
|
KK=K2;
|
||||||
if (KK == 0) {
|
if (KK == 0) {
|
||||||
RSPEAK(140);
|
RSPEAK(140);
|
||||||
|
@ -655,7 +654,8 @@ L16:
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool do_command(FILE *cmdin) {
|
static bool do_command(FILE *cmdin)
|
||||||
|
{
|
||||||
long KQ, VERB, KK, V1, V2;
|
long KQ, VERB, KK, V1, V2;
|
||||||
long obj, i;
|
long obj, i;
|
||||||
static long IGO = 0;
|
static long IGO = 0;
|
||||||
|
@ -995,7 +995,7 @@ L11000: game.prop[BOTTLE]=PUT(BOTTLE,115,1);
|
||||||
for (int i=1; i<=NOBJECTS; i++) {
|
for (int i=1; i<=NOBJECTS; i++) {
|
||||||
if (TOTING(i))
|
if (TOTING(i))
|
||||||
DSTROY(i);
|
DSTROY(i);
|
||||||
} /* end loop */
|
}
|
||||||
|
|
||||||
RSPEAK(132);
|
RSPEAK(132);
|
||||||
game.closed=true;
|
game.closed=true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue