ok Uleat,
here is the diff for the attack.cpp file where this code is stored
http://code.google.com/p/projecteqem...one/attack.cpp
scroll down and check out line 2105, on the right in green is the code that badcaptain added for this change and on the left is how it was before. Just modify line 2105 to look like the code on the left and delete all the extra lines you see in green in your own code to make it like it was before