projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
058e566
)
Whitespace fixes.
author
Eric S. Raymond
<esr@thyrsus.com>
Fri, 9 Jun 2017 21:14:18 +0000
(17:14 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 9 Jun 2017 21:14:18 +0000
(17:14 -0400)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 993cd523d11ea12f30335dc84bff577acd27ffd7..fd84ca7894b16961f1e46b5546c679f034dd66ca 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-844,19
+844,22
@@
L2630:
goto L3000;
K=MOD(i,1000);
KQ=i/1000+1;
goto L3000;
K=MOD(i,1000);
KQ=i/1000+1;
- switch (KQ-1) { case 0: goto L8; case 1: goto L5000; case 2: goto L4000;
- case 3: goto L2010; }
+ switch (KQ-1)
+ {
+ case 0: goto L8;
+ case 1: goto L5000;
+ case 2: goto L4000;
+ case 3: goto L2010;
+ }
BUG(22);
BUG(22);
-/* Get second word for analysis. */
-
+ /* Get second word for analysis. */
L2800: WD1=WD2;
WD1X=WD2X;
WD2=0;
L2800: WD1=WD2;
WD1X=WD2X;
WD2=0;
- goto L2620;
-
-/* Gee, I don't understand. */
+ goto L2620;
+ /* Gee, I don't understand. */
L3000: SETPRM(1,WD1,WD1X);
if (fallback_handler(rawbuf))
return true;
L3000: SETPRM(1,WD1,WD1X);
if (fallback_handler(rawbuf))
return true;
@@
-887,18
+890,16
@@
Laction:
}
BUG(99);
}
BUG(99);
-/* Random intransitive verbs come here. Clear obj just in case (see "attack").
- */
-
+ /* Random intransitive verbs come here. Clear obj just in case
+ * (see attack()). */
L8000: SETPRM(1,WD1,WD1X);
RSPEAK(257);
obj=0;
goto L2600;
L8000: SETPRM(1,WD1,WD1X);
RSPEAK(257);
obj=0;
goto L2600;
-/* Figure out the new location */
-L8:
-
if (playermove(cmdin, VERB))
+ /* Figure out the new location */
+
L8:
if (playermove(cmdin, VERB))
return true;
else
goto L2000;
return true;
else
goto L2000;