]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
oops, move the print for that string upwards, as other code there uses va() too
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Mar 2009 18:15:50 +0000 (18:15 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Mar 2009 18:15:50 +0000 (18:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8825 d7cf8633-e32d-0410-b094-e92efae38249

prvm_exec.c

index 8bb0d77a6fb230ff6797dac7bb37565b7a418574..624a797a5e7f19e69759ed267f011154638011b8 100644 (file)
@@ -443,6 +443,10 @@ void PRVM_CrashAll()
 void PRVM_PrintState(void)
 {
        int i;
+       if(prog->statestring)
+       {
+               Con_Printf("Caller-provided information: %s\n", prog->statestring);
+       }
        if (prog->xfunction)
        {
                for (i = -7; i <= 0;i++)
@@ -452,10 +456,6 @@ void PRVM_PrintState(void)
        else
                Con_Print("null function executing??\n");
        PRVM_StackTrace ();
-       if(prog->statestring)
-       {
-               Con_Printf("Additional information: %s\n", prog->statestring);
-       }
 }
 
 extern sizebuf_t vm_tempstringsbuf;