hedgewars/uStore.pas
changeset 97 e7c1df9cce2c
parent 95 1ef5e2c41115
child 105 e7cb9bb4a9de
--- a/hedgewars/uStore.pas	Sun Aug 06 15:47:20 2006 +0000
+++ b/hedgewars/uStore.pas	Sun Aug 06 15:48:48 2006 +0000
@@ -468,10 +468,8 @@
 begin
 if Step = 0 then
    begin
-   WriteToConsole(msgLoading + 'progress sprite... ');
-   ProgrSurf:= IMG_Load(PChar(string('Data/Graphics/BigDigits.png')));
-   SDLTry(ProgrSurf <> nil, true);
-   WriteLnToConsole(msgOK)
+   WriteToConsole(msgLoading + 'progress sprite: ');
+   ProgrSurf:= LoadImage(Pathz[ptGraphics] + '/BigDigits', false);
    end;
 SDL_FillRect(SDLPrimSurface, nil, 0);
 r.x:= 0;