More fixes for PIFH.
Fixed incorrect equasion in changeRooms.