- Timestamp:
- May 25, 2009, 1:53:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound2/src/orxonox/gamestates/GSMainMenu.cc
r2957 r3055 40 40 #include "objects/Scene.h" 41 41 #include "GraphicsManager.h" 42 #include "sound/SoundMainMenu.h" 42 43 43 44 namespace orxonox … … 79 80 80 81 InputManager::getInstance().requestEnterState("mainMenu"); 82 83 this->ambient_ = new SoundMainMenu(); 84 this->ambient_->play(true); 81 85 } 82 86 83 87 void GSMainMenu::deactivate() 84 88 { 89 delete this->ambient_; 90 85 91 InputManager::getInstance().requestLeaveState("mainMenu"); 86 92 InputManager::getInstance().requestDestroyState("mainMenu");
Note: See TracChangeset
for help on using the changeset viewer.