Narrow the scope of VERB.
[open-adventure.git] / actions1.c
index 781b996a107f5d373d2bf321e2b0a23e45f25a05..34ae784043c7b9116f4ad22bca93d97992408f7d 100644 (file)
@@ -12,7 +12,7 @@
 
 /*  Analyse a verb.  Remember what it was, go back for object if second word
  *  unless verb is "say", which snarfs arbitrary second word.
- *  Takes K, OBJ, and VERB as inputs.
+ *  FIXME: Takes K and VERB as additional inputs.
  */
 
 int action(FILE *input, long STARTAT, long obj) {
@@ -310,7 +310,7 @@ L9094:      DROP(JADE,game.loc);
 
 /*  Attack also moved into separate module. */
 
-L9120: return(attack(input, obj));
+L9120: return(attack(input, obj, VERB));
 
 /*  Pour.  If no object, or object is bottle, assume contents of bottle.
  *  special tests for pouring water or oil on plant or rusty door. */
@@ -390,7 +390,7 @@ L9160:      if(obj != LAMP)SPK=76;
 
 /*  Throw moved into separate module. */
 
-L9170: return(throw(input, obj));
+L9170: return(throw(input, obj, VERB));
 
 /*  Quit.  Intransitive only.  Verify intent and exit if that's what he wants. */