Removed equivocation between ROD and ROD2 in throw()
authorAaron Traas <aaron@traas.org>
Tue, 4 Jul 2017 21:13:26 +0000 (17:13 -0400)
committerAaron Traas <aaron@traas.org>
Tue, 4 Jul 2017 21:13:26 +0000 (17:13 -0400)
Already dealt with in action(), so redundant and unreachable here.

actions.c

index 34d0e48ef8d291bbfd364bf0bedfb73908cebe3a..abe9e5bb38ef2eac3a9b3e481bbbf1445c648874 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -1136,8 +1136,6 @@ static int throw (struct command_t *command)
  *  (Only way to do so!)  Axe also special for dragon, bear, and
  *  troll.  Treasures special for troll. */
 {
-    if (TOTING(ROD2) && command->obj == ROD && !TOTING(ROD))
-        command->obj = ROD2;
     if (!TOTING(command->obj)) {
         rspeak(actions[command->verb].message);
         return GO_CLEAROBJ;