First nontrivial replacement of object state test by macro.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 9 Apr 2023 00:02:27 +0000 (20:02 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 9 Apr 2023 00:02:27 +0000 (20:02 -0400)
commitc82d1214fa0de6237e1bece692e2f9f439fa68a9
tree8386734a72c81d2103b58a33cb962be42e2385c3
parent02987d0330cf586a90307ad7e8a06cfcde6f6b92
First nontrivial replacement of object state test by macro.

Test was game.objects[i].prop >= 0, but we know that state -1
(STATE_NOTFOUND) can't occiur here because the object is in
a lit room.
actions.c