From: havoc Date: Fri, 21 Oct 2005 06:15:25 +0000 (+0000) Subject: fixed two Con_Printf format strings with the wrong type X-Git-Tag: xonotic-v0.1.0preview~4532 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=1c68d85cb7cf8aca5b371eff69b0a57f333d3ba6 fixed two Con_Printf format strings with the wrong type git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5751 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/mvm_cmds.c b/mvm_cmds.c index 38d60b17..512c9e61 100644 --- a/mvm_cmds.c +++ b/mvm_cmds.c @@ -74,7 +74,7 @@ void VM_M_setmousetarget(void) in_client_mouse = true; break; default: - PRVM_ERROR("VM_M_setmousetarget: wrong destination %i !\n",PRVM_G_FLOAT(OFS_PARM0)); + PRVM_ERROR("VM_M_setmousetarget: wrong destination %f !\n",PRVM_G_FLOAT(OFS_PARM0)); } } @@ -123,7 +123,7 @@ void VM_M_setkeydest(void) // key_dest = key_message // break; default: - PRVM_ERROR("VM_M_setkeydest: wrong destination %i !\n",prog->globals.generic[OFS_PARM0]); + PRVM_ERROR("VM_M_setkeydest: wrong destination %f !\n", PRVM_G_FLOAT(OFS_PARM0)); } }