Added enemy div0 check