From: divverent Date: Mon, 24 Aug 2009 09:54:41 +0000 (+0000) Subject: yet another typo :( typing with lag sucks X-Git-Tag: xonotic-v0.1.0preview~1485 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3342da073040be54c3c0bac619443608c2ff22c5;p=xonotic%2Fdarkplaces.git yet another typo :( typing with lag sucks git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9144 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_execprogram.h b/prvm_execprogram.h index 665bf542..52da1343 100644 --- a/prvm_execprogram.h +++ b/prvm_execprogram.h @@ -82,10 +82,10 @@ OPC->_float = OPA->_float < OPB->_float; break; case OP_AND: - OPC->_float = FLOAT_IS_TRUE_FOR_INT(OPA->_int) && FLOAT_IS_TRUE_FOR_INT(OPA->_int); // TODO change this back to float, and add AND_I to be used by fteqcc for anything not a float + OPC->_float = FLOAT_IS_TRUE_FOR_INT(OPA->_int) && FLOAT_IS_TRUE_FOR_INT(OPB->_int); // TODO change this back to float, and add AND_I to be used by fteqcc for anything not a float break; case OP_OR: - OPC->_float = FLOAT_IS_TRUE_FOR_INT(OPA->_int) || FLOAT_IS_TRUE_FOR_INT(OPA->_int); // TODO change this back to float, and add OR_I to be used by fteqcc for anything not a float + OPC->_float = FLOAT_IS_TRUE_FOR_INT(OPA->_int) || FLOAT_IS_TRUE_FOR_INT(OPB->_int); // TODO change this back to float, and add OR_I to be used by fteqcc for anything not a float break; case OP_NOT_F: OPC->_float = !FLOAT_IS_TRUE_FOR_INT(OPA->_int);