Eliminate objectionable use of global.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 944a14d45157d06e7a69911dcc2458f001aed2d0..0dbba5f9c40a7d8547d8d268d1b02e6fd320d092 100644 (file)
--- a/main.c
+++ b/main.c
@@ -648,7 +648,7 @@ L3000:      SETPRM(1,WD1,WD1X);
 
 L4000: I=4000; VERB=K; goto Laction;
 L4090: I=4090; goto Laction;
-L5000: I=5000;
+L5000: I=5000; obj = K;
 Laction:
         switch (action(cmdin, I, VERB, obj)) {
           case 2: return true;