From: divverent Date: Mon, 23 Mar 2009 18:15:50 +0000 (+0000) Subject: oops, move the print for that string upwards, as other code there uses va() too X-Git-Tag: xonotic-v0.1.0preview~1782 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb6ee36dc38e625f1fc63c181f43e032f4443fff;p=xonotic%2Fdarkplaces.git oops, move the print for that string upwards, as other code there uses va() too git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8825 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_exec.c b/prvm_exec.c index 8bb0d77a..624a797a 100644 --- a/prvm_exec.c +++ b/prvm_exec.c @@ -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;