projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove testing for intransitive seperate from NO_OBJECT in attact()
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 13fc8c5dfdf7bee165612b5c0e3b5af818b84231..a6f686d5115477059387e896308e65a9d498e08d 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-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;