From 1a8f5b21bbebfc69c168241a1393053ea17c7fca Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 18 Aug 2009 23:40:33 +0000 Subject: [PATCH] fix div0's bug git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9122 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_execprogram.h | 2 ++ 1 file changed, 2 insertions(+) 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]; -- 2.39.2