shithub: duke3d

Download patch

ref: 5a9312c9cc836fb66343d38dbfa84b3b22368399
parent: fd4f5af74e586992c0dde8d20741d373dae743f0
author: Jacob Moody <[email protected]>
date: Mon Feb 6 23:07:59 EST 2023

hack around crash and forever stall because our sound is broken

--- a/Game/src/game.c
+++ b/Game/src/game.c
@@ -7491,8 +7491,10 @@
 		    if(!KB_KeyWaiting() && nomorelogohack == 0)
 		    {
 		        getpackets();
-				
-		        playanm("logo.anm",5);
+
+#ifndef __plan9__       /* FIXME */
+                        playanm("logo.anm",5);
+#endif
 		        palto(0,0,0,63,false);
 		        KB_FlushKeyboardQueue();
 		    }
--- a/Game/src/premap.c
+++ b/Game/src/premap.c
@@ -1001,8 +1001,10 @@
     struct player_struct *p = &ps[0];
     short i;
 
+#ifndef __plan9__ /* FIXME */
     if(globalskillsound >= 0)
         while(Sound[globalskillsound].lock>=200);
+#endif
     globalskillsound = -1;
 
     waitforeverybody();