fix logic in CpuID.cpp
(found by static code analyzer http://www.viva64.com/en/b/0293/)
fix logic error in Weapon.cpp
(found by static code analyzer http://www.viva64.com/en/b/0293/)
fix logic error
(found by static code analyzer http://www.viva64.com/en/b/0293/)