summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a93647)
raw | patch | inline | side by side (parent: 6a93647)
author | Joseph Stalin <granminigun@pm.me> | |
Wed, 14 Aug 2019 19:56:13 +0000 (00:56 +0500) | ||
committer | Joseph Stalin <granminigun@pm.me> | |
Wed, 14 Aug 2019 19:56:57 +0000 (00:56 +0500) |
It didn't corrected its aspect. Oops.
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 3e092381baf7ad01f2d84574955e044aaae87d5b..21f25cb1a7806c22898c998af38ebc3a63204a9a 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
if gState = STATE_ENDPIC then
begin
ID := DWORD(-1);
- if not g_Texture_Get('TEXTURE_endpic', ID) then
- g_Texture_Get(_lc[I_TEXTURE_ENDPIC], ID);
-
- if ID <> DWORD(-1) then
- e_DrawSize(ID, 0, 0, 0, False, False, gScreenWidth, gScreenHeight)
- else
- e_Clear(GL_COLOR_BUFFER_BIT, 0, 0, 0);
+ if g_Texture_Get('TEXTURE_endpic', ID) then DrawMenuBackground('TEXTURE_endpic')
+ else DrawMenuBackground(_lc[I_TEXTURE_ENDPIC]);
if g_ActiveWindow <> nil then
begin