Source: vor
Version: 0.5.5-1
Severity: important
Tags: patch
If data/ directory exists in current directory, game cannot be started:
artu...@szczaw:~$ vor
Failed to load data/mph.xm.
vor: SDL error: 'Couldn't open data/b_variations.png'
I believe the DATA_PREFIX directory shall be put as first in search path,
as in attached patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vor depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libsdl-image1.2 1.2.10-1 image loading library for Simple D
ii libsdl-mixer1.2 1.2.8-6+b1 mixer library for Simple DirectMed
ii libsdl1.2debian 1.2.13-5 Simple DirectMedia Layer
vor recommends no packages.
vor suggests no packages.
-- no debconf information
--
Blogi to bastardy WWW, które się po nocach ryćkało z top-postingiem.
/Leslie/
diff -Naru vor-0.5.5.a/file.c vor-0.5.5/file.c
--- vor-0.5.5.a/file.c 2009-12-09 22:28:59.000000000 +0100
+++ vor-0.5.5/file.c 2009-12-23 20:12:09.957760593 +0100
@@ -100,9 +100,9 @@
{
int i;
char *data_options[3] = {
+ DATA_PREFIX,
getenv("VOR_DATA"),
- "data",
- DATA_PREFIX
+ "data"
};
for(i=0; i<3; i++) {