SPK is no longer global.
[open-adventure.git] / actions.c
index 01a373bad99e36ad0b35fa1745fd2afaf97c575c..de5f83004f828ee86d0d422819c06b536e3ca2d3 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -4,7 +4,9 @@
 #include "database.h"
 
 /* Limit visibility of ugly globals.  Eventually these should go away. */
-extern long K, SPK, WD1, WD1X, WD2, WD2X;
+extern long K, WD1, WD1X, WD2, WD2X;
+
+static long SPK;       /* This should go away too */
 
 /*
  * Action handlers.  Eventually we'll do lookup through a method table