aboutsummaryrefslogtreecommitdiff
path: root/games/golddig/files/patch-badguy.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/golddig/files/patch-badguy.c')
-rw-r--r--games/golddig/files/patch-badguy.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/golddig/files/patch-badguy.c b/games/golddig/files/patch-badguy.c
new file mode 100644
index 000000000000..ad92a8017de2
--- /dev/null
+++ b/games/golddig/files/patch-badguy.c
@@ -0,0 +1,19 @@
+--- badguy.c.orig 2001-03-16 00:44:30 UTC
++++ badguy.c
+@@ -20,7 +20,7 @@ int badscore; /* Score given during current
+ /* killing bad guys */
+
+ /* Graphics cursors for drawing the possible states of the badguys */
+-GC badguy1gc,badguy2gc,badguy3gc;
++extern GC badguy1gc,badguy2gc,badguy3gc;
+
+ /* Initialize data structure for bad guys from level data */
+ void start_badguy()
+@@ -421,6 +421,7 @@ void move_badguys()
+ case RIGHT: dir = LEFT; break;
+ case UP: dir = DOWN; break;
+ case DOWN: dir = UP; break;
++ case UNMOVE: case STAND: case DIGLEFT: case DIGRIGHT: case PUTDOWN: break;
+ }
+
+ /* Execute computed movement. */