openbsd-ports/games/vodovod/patches/patch-map_cpp
simon cb0072859f import vodovod-1.10
The goal of vodovod is to reach the highest possible score. You get a
limited number of pipes on each level and need to combine them to lead
the water from the house at the top of the screen to the storage tank at
the bottom.

help & ok jasper@
2007-07-05 16:13:27 +00:00

13 lines
469 B
Plaintext

$OpenBSD: patch-map_cpp,v 1.1.1.1 2007/07/05 16:13:27 simon Exp $
--- map.cpp.orig Thu Jul 5 15:22:16 2007
+++ map.cpp Thu Jul 5 15:22:29 2007
@@ -433,7 +433,7 @@ void Map::Render()
{
SDL_Rect r;
RenderBackground(xStartM*60 - 27); // 633 = 11
- SDL_Surface *tank = Data->getGfx("tank", "data/tank.png");
+ SDL_Surface *tank = Data->getGfx("tank", DATADIR "/data/tank.png");
NjamSetRect(r, 12, 529);
SDL_BlitSurface(tank, 0, Screen, &r);