removed unnecessary code from shooting enemy