Skip to content

Commit

Permalink
rcll: tune down error about invalid workpiece ID to an info message
Browse files Browse the repository at this point in the history
Currently, all our workpieces have invalid IDs, as the assumptions about
the IDs are wrong. For now, just tune down the error message to a
regular info message.
  • Loading branch information
morxa committed Jul 3, 2019
1 parent afb48af commit 42e2e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/games/rcll/workpieces.clp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
then (return BASE_SILVER))
(if (and (>= ?id (nth$ 1 ?*WORKPIECE-RANGE-CLEAR*)) (<= ?id (nth$ 2 ?*WORKPIECE-RANGE-CLEAR*)))
then (return BASE_CLEAR))
(printout error "Invalid workpiece ID " ?id ". Cannot determine base color." crlf)
(printout t "Invalid workpiece ID " ?id ". Cannot determine base color." crlf)
(return BASE_INVALID)
)

Expand Down

0 comments on commit 42e2e5a

Please sign in to comment.