hedgewars/uLandObjects.pas
changeset 9778 6166aa84a396
parent 9768 08799c901a42
child 9798 f2b18754742f
child 9950 2759212a27de
child 9998 736015b847e3
--- a/hedgewars/uLandObjects.pas	Tue Dec 10 00:20:53 2013 -0500
+++ b/hedgewars/uLandObjects.pas	Tue Dec 10 22:09:57 2013 +0400
@@ -495,7 +495,7 @@
 s:= cPathz[ptCurrTheme] + '/' + cThemeCFGFilename;
 WriteLnToConsole('Reading objects info...');
 f:= pfsOpenRead(s);
-TryDo(f <> nil, 'Bad data or cannot access file ' + cThemeCFGFilename, true);
+TryDo(f <> nil, 'Bad data or cannot access file ' + s, true);
 
 ThemeObjects.Count:= 0;
 SprayObjects.Count:= 0;