Hey, I ran into the bug while screwing around with cheat mode today detailed
here:

https://gna.org/bugs/?7423

I'll be replying to that bug shortly, but I think I figured out what's wrong
with the CONPRINTF; it's apparently missing an argument. I stuffed in Unit
for now, but this isn't exactly very, er, interesting.

Hikaru-orly
Tim McGrath
Index: src/structure.c
===================================================================
--- src/structure.c     (revision 537)
+++ src/structure.c     (working copy)
@@ -8043,8 +8043,7 @@
                 //add a console message for the selected Player
                        if (psDroid->player == selectedPlayer)
                        {
-                           
CONPRINTF(ConsoleString,(ConsoleString,strresGetString(
-                        psStringRes,STR_GAM_ELECDAM)));
+                           
CONPRINTF(ConsoleString,(ConsoleString,strresGetString(psStringRes,STR_GAM_ELECDAM),"Unit"));
                     //tell the scripts if selectedPlayer has lost a droid
                     
eventFireCallbackTrigger((TRIGGER_TYPE)CALL_ELECTRONIC_TAKEOVER);
                                }
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to