X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=actions1.c;h=8ffc30b1b6b96b893ad676766364a6351b88112c;hb=f01cb89a76fd0df79b2356b0e81e137113c9e777;hp=ef523eae0649016909a21f429224d04963074206;hpb=a5cef5208fbd0cd54771f5a042ecf5f47a816ff5;p=open-adventure.git diff --git a/actions1.c b/actions1.c index ef523ea..8ffc30b 100644 --- a/actions1.c +++ b/actions1.c @@ -161,8 +161,8 @@ L8010: if(game.atloc[game.loc] == 0 || game.link[game.atloc[game.loc]] != 0 || A /* Transitive carry/drop are in separate file. */ -L9010: return(carry()); -L9020: return(discard(false)); +L9010: return(carry(OBJ)); +L9020: return(discard(OBJ, false)); /* SAY. Echo WD2 (or WD1 if no WD2 (SAY WHAT?, etc.).) Magic words override. */ @@ -388,7 +388,7 @@ L9160: if(OBJ != LAMP)SPK=76; /* Throw moved into separate module. */ -L9170: return(throw(input)); +L9170: return(throw(input, OBJ)); /* Quit. Intransitive only. Verify intent and exit if that's what he wants. */ @@ -420,8 +420,8 @@ L8201: /*etc*/ ; /* Feed/fill are in the other module. */ -L9210: return(feed()); -L9220: return(fill()); +L9210: return(feed(OBJ)); +L9220: return(fill(OBJ)); /* Blast. No effect unless you've got dynamite, which is a neat trick! */