protect under HAVE_AUDIO

This commit is contained in:
David Rose 2009-10-24 04:57:46 +00:00
parent b6dfe5d6c8
commit af847d758e
2 changed files with 8 additions and 3 deletions

View File

@ -103,8 +103,10 @@ PGItem(const PGItem &copy) :
_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);

View File

@ -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"
#ifdef HAVE_AUDIO
#include "audioSound.h"
#endif
class PGTop;
class MouseWatcherParameter;
class AudioSound;