From: havoc Date: Tue, 18 Aug 2009 23:40:33 +0000 (+0000) Subject: fix div0's bug X-Git-Tag: xonotic-v0.1.0preview~1507 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a8f5b21bbebfc69c168241a1393053ea17c7fca;p=xonotic%2Fdarkplaces.git fix div0's bug git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9122 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_execprogram.h b/prvm_execprogram.h index 41f722f0..86596615 100644 --- a/prvm_execprogram.h +++ b/prvm_execprogram.h @@ -40,6 +40,8 @@ OPC->vector[0] = OPA->_float * OPB->vector[0]; OPC->vector[1] = OPA->_float * OPB->vector[1]; OPC->vector[2] = OPA->_float * OPB->vector[2]; + break; + case OP_MUL_VF: OPC->vector[0] = OPB->_float * OPA->vector[0]; OPC->vector[1] = OPB->_float * OPA->vector[1]; OPC->vector[2] = OPB->_float * OPA->vector[2];