/*
-Copyright (C) 2004-2010 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
dx = -1;
}
- int x = (int)self->x;
+ int x;
int y = (int)self->y + 10;
Entity *enemy = NULL;
if (self->custom == 0)
{
self->think = tankBossMGCannonFire;
- audio.playSound(SND_BOSSCUSTOM2, CH_AMBIANCE);
+ audio.playSound(SND_BOSSCUSTOM2, CH_AMBIANCE, self->x);
}
}
self->think = &tankBossMGCannonChargeFire;
self->setThinkTime(0);
self->setActionFinished(2);
- audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE);
+ audio.playSound(SND_BOSSCUSTOM1, CH_AMBIANCE, self->x);
Math::addBit(&self->flags, ENT_IMMUNE);
}
else