Eliminate thew last property inequality outside a macro.
This commit is contained in:
parent
96ad6c6245
commit
92451f1fff
1 changed files with 1 additions and 2 deletions
|
@ -329,8 +329,7 @@ static phase_codes_t vcarry(verb_t verb, obj_t obj) {
|
||||||
if (game.objects[obj].fixed != IS_FREE) {
|
if (game.objects[obj].fixed != IS_FREE) {
|
||||||
switch (obj) {
|
switch (obj) {
|
||||||
case PLANT:
|
case PLANT:
|
||||||
/* Next guard tests whether plant is tiny or stashed */
|
rspeak((game.objects[PLANT].prop == PLANT_THIRSTY || OBJECT_IS_STASHED(PLANT))
|
||||||
rspeak(game.objects[PLANT].prop <= PLANT_THIRSTY
|
|
||||||
? DEEP_ROOTS
|
? DEEP_ROOTS
|
||||||
: YOU_JOKING);
|
: YOU_JOKING);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue