Patch! Attached patch! This time for real! Three for the pice of four! -- You need not be present to win.
Index: src/multiplay.c =================================================================== --- src/multiplay.c (revision 375) +++ src/multiplay.c (working copy) @@ -1335,7 +1335,7 @@ MultiMsgPlayerTo = selectedPlayer; strcpy(MultiplayMsg,&(pMsg->body[4])); - eventFireCallbackTrigger(CALL_AI_MSG); + eventFireCallbackTrigger((TRIGGER_TYPE)CALL_AI_MSG); // make some noise! if(titleMode == MULTIOPTION || titleMode == MULTILIMIT) @@ -1919,7 +1919,7 @@ { case CALL_VIDEO_QUIT: debug(LOG_SCRIPT, "msgStackFireTop: popped CALL_VIDEO_QUIT"); - eventFireCallbackTrigger(CALL_VIDEO_QUIT); + eventFireCallbackTrigger((TRIGGER_TYPE)CALL_VIDEO_QUIT); break; case CALL_BEACON: @@ -1938,7 +1938,7 @@ strcpy(MultiplayMsg, msg); - eventFireCallbackTrigger(CALL_BEACON); + eventFireCallbackTrigger((TRIGGER_TYPE)CALL_BEACON); break; case CALL_AI_MSG: @@ -1953,7 +1953,7 @@ strcpy(MultiplayMsg, msg); - eventFireCallbackTrigger(CALL_AI_MSG); + eventFireCallbackTrigger((TRIGGER_TYPE)CALL_AI_MSG); break; default: @@ -2020,4 +2020,5 @@ } return tempString; -} \ No newline at end of file +} + Index: lib/script/interp.c =================================================================== --- lib/script/interp.c (revision 375) +++ lib/script/interp.c (working copy) @@ -989,7 +989,7 @@ static Sint8 retStackPos = -1; // Current Position, always points to the last valid element -inline Sint8 retStackCallDepth(void) +Sint8 retStackCallDepth(void) { return (retStackPos + 1); } Index: lib/script/script.h =================================================================== --- lib/script/script.h (revision 375) +++ lib/script/script.h (working copy) @@ -66,10 +66,9 @@ * * \return Number of calls on the return address stack */ -extern inline Sint8 retStackCallDepth(void); +inline Sint8 retStackCallDepth(void); - /*********************************************************************************** * * Compiler functions
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev