X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=760283a88bf40acc400f1f68c0e0fe5660e53d64;hb=bfda14305af68b1d8a2deb4bdb2718a8493f035e;hp=4e1566dec7ed834b0f5931c92f15908e3ff6a49f;hpb=5e5ad6b1aafcceb18d89fd09206d3988526349fa;p=open-adventure.git diff --git a/main.c b/main.c index 4e1566d..760283a 100644 --- a/main.c +++ b/main.c @@ -768,8 +768,6 @@ L2006: KK=game.prop[obj]; L2008: i=game.link[i]; goto L2004; -L2009: K=54; -L2010: RSPEAK(K); L2012: VERB=0; game.oldobj=obj; obj=0; @@ -972,8 +970,10 @@ L19999: K=43; if (LIQLOC(game.loc) == WATER)K=70; V1=VOCAB(WD1,-1); V2=VOCAB(WD2,-1); - if (V1 == ENTER && (V2 == STREAM || V2 == 1000+WATER)) - goto L2010; + if (V1 == ENTER && (V2 == STREAM || V2 == 1000+WATER)) { + RSPEAK(K); + goto L2012; + } if (V1 == ENTER && WD2 > 0) goto L2800; if (!((V1 != 1000+WATER && V1 != 1000+OIL) || @@ -1002,7 +1002,7 @@ L2630: case 0: goto L8; case 1: goto L5000; case 2: goto L4000; - case 3: goto L2010; + case 3: RSPEAK(K); goto L2012; } BUG(22); @@ -1029,8 +1029,6 @@ Laction: case 2: return true; case 8: goto L8; case 2000: goto L2000; - case 2009: goto L2009; - case 2010: goto L2010; case 2012: goto L2012; case 2600: goto L2600; case 2607: goto L2607; @@ -1043,14 +1041,11 @@ Laction: RSPEAK(257); obj=0; goto L2600; - case 18999: - /* Oh dear, he's disturbed the dwarves. */ - RSPEAK(SPK); - /* fall through */ case 19000: - RSPEAK(136); - score(0); - return true; + /* Oh dear, he's disturbed the dwarves. */ + RSPEAK(136); + score(0); + return true; } BUG(99);