foxygit / doom Log in
commit 453844c768f1fd6571bf0b4908b45199b3729fb8
Author:     Nuke.YKT <alexeytf2@gmail.com>
AuthorDate: Sun Jul 26 21:11:36 2015 +0900
Commit:     Nuke.YKT <alexeytf2@gmail.com>
CommitDate: Sun Jul 26 21:11:36 2015 +0900

    doom:Chex's sky behavior fix

    "Sky never changes in Doom II" is fixed in Chex Quest exe
---
 src/doom/g_game.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/doom/g_game.c b/src/doom/g_game.c
index 3001e039..819fc88a 100644
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -614,7 +614,8 @@ void G_DoLoadLevel (void)

     // The "Sky never changes in Doom II" bug was fixed in
     // the id Anthology version of doom2.exe for Final Doom.
-    if ((gamemode == commercial) && (gameversion == exe_final2))
+    if ((gamemode == commercial)
+     && (gameversion == exe_final2 || gameversion == exe_chex))
     {
         char *skytexturename;