pointer fixes in RoomGen.cpp