From: divverent Date: Fri, 8 Aug 2008 17:14:24 +0000 (+0000) Subject: drawcolorcodedstring takes the flags in arg 4, not 5 X-Git-Tag: xonotic-v0.1.0preview~2141 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=00463f3bfafd18fca52cf14f787d474bcb7d7bfe;p=xonotic%2Fdarkplaces.git drawcolorcodedstring takes the flags in arg 4, not 5 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8440 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 2bf5a2fa..ff1df96a 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -2925,7 +2925,7 @@ void VM_drawcolorcodedstring(void) string = PRVM_G_STRING(OFS_PARM1); pos = PRVM_G_VECTOR(OFS_PARM0); scale = PRVM_G_VECTOR(OFS_PARM2); - flag = (int)PRVM_G_FLOAT(OFS_PARM5); + flag = (int)PRVM_G_FLOAT(OFS_PARM4); if(flag < DRAWFLAG_NORMAL || flag >=DRAWFLAG_NUMFLAGS) {