projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09e36e
)
Magic-number elimination.
author
Eric S. Raymond
<esr@thyrsus.com>
Fri, 16 Nov 2018 10:19:31 +0000
(
05:19
-0500)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 16 Nov 2018 10:19:31 +0000
(
05:19
-0500)
main.c
patch
|
blob
|
history
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();