aboutsummaryrefslogtreecommitdiffstats
path: root/games/race/files/patch-terrian.c
blob: 240cd644793747363057b5e71cad1e16d06d0b05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/terrain.c.orig  Tue Jul 16 23:49:58 2002
+++ src/terrain.c   Tue Jul 16 23:50:11 2002
@@ -36,7 +36,7 @@
   
   debugf("Started Loading Map (%s)",course->dir);
   
-  sprintf(temp,"data/%s/%s",course->dir,"map.bmp");
+  sprintf(temp,"%%DATADIR%%/data/%s/%s",course->dir,"map.bmp");
 
   if(!(mapimg = IMG_Load(temp)))
     error("Missing Level Data");