summaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-ao
blob: d2f0dbc2c2722af9ca30da25b58463a4619a1156 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- brain.cc.orig	Sun Dec 26 17:26:48 1999
+++ brain.cc	Sun Dec 26 17:27:03 1999
@@ -24,7 +24,7 @@
 #include "music.h"
 #include "lines.h"
 
-const NX=6, NY=4;
+const int NX=6, NY=4;
 
 class Brain: public Part {
 
@@ -112,8 +112,8 @@
 //  vidSizeY *= 2; vidBytesPerLine /= 2;
 //  offset = vidBytesPerLine-offset;
 //  cage->Draw( 0, color, bw );
-  static c = 0;
-  static old_row = -1;
+  static int c = 0;
+  static int old_row = -1;
   if( row/6 != old_row ) {
     old_row = row/6;
     c += 6;