/*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
break;
}
- audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE);
+ audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE, self->x);
}
void droidBossDie()
if ((Math::prand() % 10) == 0)
{
Math::addBit(&self->flags, ENT_IMMUNE);
- audio.playSound(SND_BOSSCUSTOM2, CH_SPAWN);
+ audio.playSound(SND_BOSSCUSTOM2, CH_SPAWN, self->x);
self->custom = 5;
self->think = &droidGoCrazy;
self->setActionFinished(2);