]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed two Con_Printf format strings with the wrong type
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 06:15:25 +0000 (06:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 06:15:25 +0000 (06:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5751 d7cf8633-e32d-0410-b094-e92efae38249

mvm_cmds.c

index 38d60b1766beb613e06b482d4a6d297a7ea752df..512c9e61d01b58a694f0dbaea987d1d8fff869d9 100644 (file)
@@ -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));
        }
 }