summaryrefslogtreecommitdiff
path: root/games/xkobo/patches/patch-ac
blob: b8065be36cb17b5961cb92a4963e75895f670757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ac,v 1.1 2001/10/18 19:12:40 abs Exp $

--- map.h.orig	Thu Oct 18 19:49:21 2001
+++ map.h
@@ -38,10 +38,10 @@
 #define HIT_MASK       (CORE | U_MASK | R_MASK | D_MASK | L_MASK)
 
 class _map{
-    const int sx_log2 = MAP_SIZEX_LOG2;
-    const int sy_log2 = MAP_SIZEY_LOG2;
-    const int sx = 1 << sx_log2;
-    const int sy = 1 << sy_log2;
+    static const int sx_log2 = MAP_SIZEX_LOG2;
+    static const int sy_log2 = MAP_SIZEY_LOG2;
+    static const int sx = 1 << sx_log2;
+    static const int sy = 1 << sy_log2;
     int sitex[SITE_MAX];
     int sitey[SITE_MAX];
     int site_max;