aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-02-02 15:09:05 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-02-02 15:09:05 -0500
commit7ab072caaaec09720ad79cfed5738e89bc60c44f (patch)
tree8f36f0067751b2e68884a5467d9fac9b4db24bb1 /src/config.cpp
parentec5db6324d693cfbeeec91870ee7b483a21913f1 (diff)
removed SDL includes; merge
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 31ce578..0ed39fd 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -12,7 +12,7 @@ extern float VOLUME_MUSIC;
XMLDocument xml;
-void readConfig(){
+void readConfig(void){
XMLElement *scr;
XMLElement *vol;
xml.LoadFile("config/settings.xml");
@@ -28,9 +28,9 @@ void readConfig(){
}
-void updateConfig(){
+void updateConfig(void){
XMLElement *vol = xml.FirstChildElement("volume")->FirstChildElement("master")->ToElement();
vol->SetAttribute("volume",VOLUME_MASTER);
xml.SaveFile("config/settings.xml", false);
-} \ No newline at end of file
+}