1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/games/race/files/patch-terrian.c
Ying-Chieh Liao a5ab53ad98 add race 0.5
OpenGL Racing Game
2002-07-16 16:00:15 +00:00

12 lines
356 B
C

--- 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");