Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7929


Ignore:
Timestamp:
Feb 20, 2011, 3:11:30 PM (13 years ago)
Author:
landauf
Message:

forgot to call RegisterObject() for AmbientSound - music now again instantly changes volume if changed in audio menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/src/orxonox/sound/AmbientSound.cc

    r7856 r7929  
    2929#include "AmbientSound.h"
    3030
     31#include "core/CoreIncludes.h"
    3132#include "core/GameMode.h"
    3233#include "core/Resource.h"
     
    3839        : bPlayOnLoad_(false)
    3940    {
     41        RegisterObject(AmbientSound);
     42
    4043        // Ambient sounds always fade in
    4144        this->setVolume(0);
Note: See TracChangeset for help on using the changeset viewer.