Skip to content

Commit

Permalink
add != condition to story action
Browse files Browse the repository at this point in the history
  • Loading branch information
DantSu committed Jul 22, 2024
1 parent f287d74 commit 18d24a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/storyTeller/stories_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ bool stories_inventory_test(int comparator, int conditionNumber, int itemNumber)
case 4: {
return itemNumber >= conditionNumber;
}
case 5: {
return itemNumber != conditionNumber;
}
}
return false;
}
Expand Down

0 comments on commit 18d24a3

Please sign in to comment.