From 011d9ecc33d1639cbcada2dedd7fc73a8a2cec57 Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Mon, 19 Jul 2004 23:57:05 +0000 Subject: [PATCH] Fixed bug with FG42 detection --- dlls/dod2/dodx/Utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dod2/dodx/Utils.cpp b/dlls/dod2/dodx/Utils.cpp index 0a376147..45018827 100755 --- a/dlls/dod2/dodx/Utils.cpp +++ b/dlls/dod2/dodx/Utils.cpp @@ -91,8 +91,8 @@ int get_weaponid(CPlayer* pPlayer){ case 23: if ( pPlayer->pEdict->v.weaponmodel ) pPlayer->wpnModel = pPlayer->pEdict->v.weaponmodel; - if ( !( pPlayer->wpnModel&(1<<2) ) ) - weapon = 32; + if ( !( pPlayer->wpnModel&(1<<3) ) ) + weapon = 32; break; case 24: if ( pPlayer->pEdict->v.button&IN_ATTACK2 ) weapon = 41; break; case 25: