X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=200c77ebc3d0bf4a541e3c206e6571a2a8d74f80;hb=310559ce158128496afba3219979fb1abb15be67;hp=0b3663940c05c75d82b28918742a752864c3067c;hpb=1cbc3d827bda4a29085302ba64af9486552a17cf;p=open-adventure.git diff --git a/main.c b/main.c index 0b36639..200c77e 100644 --- a/main.c +++ b/main.c @@ -648,8 +648,8 @@ static void playermove( int motion) /* else fall through */ } /* YAML [with OBJ] clause */ - if (TOTING(condarg1) || - (condtype == cond_with && AT(condarg1))) + else if (TOTING(condarg1) || + (condtype == cond_with && AT(condarg1))) break; /* else fall through to check [not OBJ STATE] */ } else if (game.prop[condarg1] != condarg2)