projects
/
lugaru.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2620017
)
Updating newdetail more often to avoid storing bad value, and added a newline at...
author
Côme Chilliet
<come@chilliet.eu>
Sat, 10 Dec 2016 19:10:05 +0000
(
02:10
+0700)
committer
Côme Chilliet
<come@chilliet.eu>
Sat, 10 Dec 2016 19:10:05 +0000
(
02:10
+0700)
Source/Settings.cpp
patch
|
blob
|
history
diff --git
a/Source/Settings.cpp
b/Source/Settings.cpp
index fe6c37b13881a169684e3178fabd493fe574dd34..fd3e03d4fde7fa292f123b274b9130c21f6bdee1 100644
(file)
--- a/
Source/Settings.cpp
+++ b/
Source/Settings.cpp
@@
-64,6
+64,8
@@
void DefaultSettings()
throwkey = SDL_SCANCODE_Q;
attackkey = MOUSEBUTTON1;
consolekey = SDL_SCANCODE_GRAVE;
+
+ newdetail = detail;
}
void SaveSettings()
@@
-166,6
+168,7
@@
void SaveSettings()
opstream << stereoseparation;
opstream << "\nStereoReverse:\n";
opstream << stereoreverse;
+ opstream << "\n";
opstream.close();
}
@@
-313,5
+316,6
@@
bool LoadSettings()
if (screenheight < 0)
screenheight = 768;
+ newdetail = detail;
return true;
}