From: Eric S. Raymond Date: Fri, 16 Nov 2018 10:19:31 +0000 (-0500) Subject: Magic-number elimination. X-Git-Tag: 1.7~16 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5fb6e2e1bcec3bfddd322d27bdd85037c3c814f7;p=open-adventure.git Magic-number elimination. --- diff --git a/main.c b/main.c index b131190..2ba9dda 100644 --- a/main.c +++ b/main.c @@ -1037,9 +1037,9 @@ static bool do_command() listobjects(); Lclearobj: - command.verb = 0; + command.verb = ACT_NULL; game.oldobj = command.obj; - command.obj = 0; + command.obj = NO_OBJECT; Lcheckhint: checkhints();