Magic-number elimination.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 16 Nov 2018 10:19:31 +0000 (05:19 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 16 Nov 2018 10:19:31 +0000 (05:19 -0500)
main.c

diff --git a/main.c b/main.c
index b131190cb58e91f1c0bd6aa51d87fd5b5542a4e1..2ba9dda3d4a6a52ead0e6f833c6d358ded07b64f 100644 (file)
--- 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();