Remove testing for intransitive seperate from NO_OBJECT in attact()
because we look for it immediately below, and this code is never reached. If it were, intransitive attacks would never work.
This commit is contained in:
parent
c8445a88d7
commit
9b3be62aaa
1 changed files with 0 additions and 3 deletions
|
@ -20,9 +20,6 @@ static int attack(struct command_t *command)
|
|||
vocab_t verb = command->verb;
|
||||
vocab_t obj = command->obj;
|
||||
|
||||
if (obj == INTRANSITIVE) {
|
||||
return GO_UNKNOWN;
|
||||
}
|
||||
long spk = actions[verb].message;
|
||||
if (obj == NO_OBJECT || obj == INTRANSITIVE) {
|
||||
int changes = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue