diff options
| author | Kris Parker | 2009-11-30 14:25:59 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-30 14:25:59 +0000 |
| commit | 452ae5fa227de77b282d9f3a10995387101e612c (patch) | |
| tree | 2035ed8820dab587fd386ee1167a42bda4499fb6 /Config.cpp | |
| parent | 9b2bb69dc1467c8ac44ae73fb034171640d58108 (diff) | |
| download | stonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.gz stonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.bz2 stonesense-452ae5fa227de77b282d9f3a10995387101e612c.tar.xz | |
Lift segment now more configurable
Diffstat (limited to 'Config.cpp')
| -rw-r--r-- | Config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,8 +99,8 @@ void parseConfigLine( string line ){ config.debug_mode = (result == "YES");
}
if( line.find("LIFTSEGMENT") != -1){
- string result = parseStrFromLine( "LIFTSEGMENT", line );
- config.lift_segment_offscreen = (result == "YES");
+ int value = parseIntFromLine( "LIFTSEGMENT", line);
+ config.lift_segment_offscreen = value;
}
if( line.find("ANIMATION_RATE") != -1){
int value = parseIntFromLine( "ANIMATION_RATE", line );
|
