@@ -103,8 +103,10 @@ PGItem(const PGItem ©) :
_has_frame(copy._has_frame),
_frame(copy._frame),
_state(copy._state),
- _flags(copy._flags),
- _sounds(copy._sounds)
+ _flags(copy._flags)
+#ifdef HAVE_AUDIO
+ , _sounds(copy._sounds)
+#endif
{
_notify = NULL;
_region = new PGMouseWatcherRegion(this);
@@ -25,13 +25,16 @@
#include "nodePath.h"
#include "luse.h"
#include "pointerTo.h"
-#include "audioSound.h"
#include "textNode.h"
#include "plane.h"
#include "pmap.h"
#include "lightReMutex.h"
#include "lightReMutexHolder.h"
+#include "audioSound.h"
+
class PGTop;
class MouseWatcherParameter;
class AudioSound;