]> Dogcows Code - chaz/yoink/blobdiff - src/GameLayer.cc
configuration cleanup and bugfixes
[chaz/yoink] / src / GameLayer.cc
index 2518bdf7971c339739c018f7e8e87835cc6747b6..fcb77ed65cfa086be3e30f07e85cefde40c8af81 100644 (file)
@@ -9,6 +9,8 @@
 *
 **************************************************************************/
 
+#include "config.h"
+
 #include <stdexcept>
 
 #include <moof/log.hh>
 
 #include "GameLayer.hh"
 
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 
 void GameLayer::loadSceneLoader()
 {
@@ -82,7 +80,7 @@ void GameLayer::advanceScene(moof::settings& settings)
 GameLayer::GameLayer()
 {
        moof::log_info("about to load sound resource...");
-       music_ = moof::resource::load("sounds/NightFusionIntro.ogg");
+       music_ = moof::resource::load("NightFusionIntro.ogg");
        if (music_)
        {
                music_->loop(true);
This page took 0.017714 seconds and 4 git commands to generate.