PDA

View Full Version : Two line change to enable saving of head / floor room values



Morannon
06-02-2002, 04:41 AM
Since moving to the XML system SEQ hasnt been saving the floor / head values.

Finally I got fed up =)

Looking in map.cpp at around line 1298:

tmpPrefString = "OverheadDepth";
m_param.setHeadRoom(pSEQPrefs->getPrefInt(tmpPrefString, prefString, 75));

tmpPrefString = "UnderfeetDepth";
m_param.setFloorRoom(pSEQPrefs->getPrefInt(tmpPrefString, prefString, 75));

Compare this to lines 2389 (HeadRoom) and 2404 (FloorRoom) where the strings are HeadRoom and FloorRoom.

Changing lines 1298 and 1301 to :

tmpPrefString = "HeadRoom";

tmpPrefString = "FloorRoom";

Makes it work as expected !

Ratt
06-02-2002, 10:41 AM
Fixed