# HG changeset patch
# User Michael Hartman <omh1280@gmail.com>
# Date 1356877470 18000
# Node ID 4877d73338185e67b15878d2cc05e616f653024b
# Parent  abb48dd39e26070182c9b650506652fb99a9edd4
uStore.pas: Correctly point to shaders

diff -r abb48dd39e26 -r 4877d7333818 hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Sun Dec 30 09:23:30 2012 -0500
+++ b/hedgewars/uStore.pas	Sun Dec 30 09:24:30 2012 -0500
@@ -740,7 +740,7 @@
     logLength: GLint;
     log: PChar;
 begin
-    Assign(f, Pathz[ptShaders] + '/' + shaderFile);
+    Assign(f, PathPrefix + cPathz[ptShaders] + '/' + shaderFile);
     filemode:= 0; // readonly
     Reset(f);
     if IOResult <> 0 then
@@ -758,7 +758,7 @@
 
     Close(f);
 
-    WriteLnToConsole('Compiling shader: ' + Pathz[ptShaders] + '/' + shaderFile);
+    WriteLnToConsole('Compiling shader: ' + PathPrefix + cPathz[ptShaders] + '/' + shaderFile);
 
     sourceA:=PChar(source);
     lengthA:=Length(source);