I see pattern.  Gerard breaks, I fix. ;)

In mission.c, compare to original source code.  They had comment 
out.  Unknown why it was enabled.  Did no seem to do anything when 
enabled.
Test in both SP & skirmish.

In wrappers.c, yes, just one line comment out (or just remove).
Again, unknown why he do this, I just know it broke fireworks @ end.
The SDL_Delay call I had add as berlios version, for reason state 
before, no real good reason why not to use.  It only does that when 
menu calls are up.  I see no way to 'skip' when create patch.

notes, there is bug someplace else also about fireworks.  For now, 
it seem to work fine for players >=3.  I only test skirmish.  So 
please reports if you see fireworks when win in MP or skirmish 
games now.





Index: src/mission.c
===================================================================
--- src/mission.c       (revision 1626)
+++ src/mission.c       (working copy)
@@ -3535,11 +3535,11 @@
                intRemoveMissionResultNoAnim();
        }*/
 //     intRemoveMissionResultNoAnim();
-
-    if (bMultiPlayer)
-    {
-        intRemoveMissionResultNoAnim();
-    }
+//Unknown why below was needed??
+//    if (bMultiPlayer)
+//    {
+//        intRemoveMissionResultNoAnim();
+//    }
 }
 
 void intProcessMissionResult(UDWORD id)
Index: src/wrappers.c
===================================================================
--- src/wrappers.c      (revision 1626)
+++ src/wrappers.c      (working copy)
@@ -268,6 +268,7 @@
            && keyPressed(KEY_RETURN)) {
                screenToggleMode();
        }
+       SDL_Delay(30);  //To release CPU when menu are up.
        return RetCode;
 }
 
@@ -412,7 +413,7 @@
 
        // this bit decides whether to auto quit to front end.
        //if(!getDebugMappingStatus())
-       if(!bMultiPlayer)
+//     if(!bMultiPlayer)
        {
                if(bDidit)
                {

--
Click to find great rates on life insurance, save big, shop here
http://tagline.hushmail.com/fc/Ioyw6h4d8MKqJxS6q0gTDzFqQW4MFnETYpwFhtFmFe7QvFs1lLmJCO/



_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to