Remove duplicative phase code.
This commit is contained in:
parent
26bf324e07
commit
cf92b9d9d6
3 changed files with 1 additions and 3 deletions
|
@ -1575,7 +1575,7 @@ int action(command_t command)
|
|||
case unknown:
|
||||
/* Unknown verb, couldn't deduce object - might need hint */
|
||||
sspeak(WHAT_DO, command.word[0].raw);
|
||||
return GO_CHECKHINT;
|
||||
return GO_CLEAROBJ;
|
||||
default: // LCOV_EXCL_LINE
|
||||
BUG(SPEECHPART_NOT_TRANSITIVE_OR_INTRANSITIVE_OR_UNKNOWN); // LCOV_EXCL_LINE
|
||||
}
|
||||
|
|
1
advent.h
1
advent.h
|
@ -100,7 +100,6 @@ enum phase_codes {
|
|||
GO_MOVE,
|
||||
GO_TOP,
|
||||
GO_CLEAROBJ,
|
||||
GO_CHECKHINT,
|
||||
GO_WORD2,
|
||||
GO_UNKNOWN,
|
||||
GO_DWARFWAKE,
|
||||
|
|
1
main.c
1
main.c
|
@ -1199,7 +1199,6 @@ Lookup:
|
|||
sspeak(DO_WHAT, command.word[0].raw);
|
||||
command.obj = 0;
|
||||
// Fallthrough
|
||||
case GO_CHECKHINT: // Fallthrough
|
||||
case GO_CLEAROBJ:
|
||||
goto Lclearobj;
|
||||
case GO_DWARFWAKE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue