hedgewars/uStore.pas
changeset 3689 e2be39ee19f0
parent 3670 4c673e57f0d7
child 3691 34fe2149f75d
--- a/hedgewars/uStore.pas	Fri Jul 30 12:07:30 2010 -0400
+++ b/hedgewars/uStore.pas	Fri Jul 30 18:20:42 2010 +0200
@@ -356,8 +356,9 @@
     if TeamsArray[t] <> nil then
         with TeamsArray[t]^ do
             begin
-            if GraveName = '' then GraveName:= 'Simple';
-            texsurf:= LoadImage(Pathz[ptGraves] + '/' + GraveName, ifCritical or ifTransparent);
+            if GraveName = '' then GraveName:= 'Statue';
+            texsurf:= LoadImage(Pathz[ptGraves] + '/' + GraveName, ifTransparent);
+            if texsurf = nil then texsurf:= LoadImage(Pathz[ptGraves] + '/Statue', ifCritical or ifTransparent);
             GraveTex:= Surface2Tex(texsurf, false);
             SDL_FreeSurface(texsurf)
             end