Moved a falsely placed ifcondition to the right place.
+ changed case 2 due to previous changes to startPawnMayMove