From 4ce54ed30d07fe3686f21667733c4145f93e5ef8 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sat, 20 Nov 2010 01:06:18 +0000 Subject: [PATCH] != != ! (hold for laughter) git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5911 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 0e7be5f6..f80bd1dc 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -1088,7 +1088,7 @@ bool gun::attack(vec &targ) owner->lastattackweapon = this; shots++; - flag4subgunDMGalt != flag4subgunDMGalt; + flag4subgunDMGalt = !flag4subgunDMGalt; if(!info.isauto) owner->attacking = false;