#! /bin/sh /usr/share/dpatch/dpatch-run
## All lines beginning with `## DP:' are a description of the patch.
## DP: Goneri Le Bouder
## DP: just load data in /usr/share instead of data/ and /usr/local to
## DP: avoid conflit with installed from source release

@DPATCH@

diff -ru enemylines3-1.2.orig/main.cc enemylines3-1.2/main.cc
--- enemylines3-1.2.orig/main.cc	2006-03-30 18:16:47.000000000 +0200
+++ enemylines3-1.2/main.cc	2006-04-01 15:49:21.000000000 +0200
@@ -49,15 +49,6 @@
 void load_audio(std::string dir) {
 	std::string path;
 	if (dir=="") {
-		path="data/";
-		std::cout << "  Looking in " << path << std::endl;
-		if (Audio::load(path)) return;
-		
-		path="/usr/local/share/";
-		path+=PATHNAME;
-		path+="/";
-		std::cout << "  Looking in " << path << std::endl;
-		if (Audio::load(path)) return;
 
 		path="/usr/share/";
 		path+=PATHNAME;
