$NetBSD: patch-aa,v 1.2 2001/01/04 01:08:58 wiz Exp $ --- clanbomber/Resources.cpp.orig Tue Mar 28 17:04:30 2000 +++ clanbomber/Resources.cpp @@ -24,6 +24,7 @@ #include #include "Resources.h" +#include CL_ResourceManager* Resources::res = NULL; @@ -110,8 +111,7 @@ try { res = CL_ResourceManager::create( - "/usr/share/clanbomber/clanbomber.dat", - true); + BOMBERDATDIR, true); } catch (CL_Error err) { @@ -149,7 +149,7 @@ { if (!sur_titlescreen) { - if (rand()%2) + if (random()%2) { sur_titlescreen = CL_Surface::load("Titlescreen/andi", res); }