remove(self);
}
-void Casing_Draw()
-{SELFPARAM();
+void Casing_Draw(entity this)
+{
if (self.move_flags & FL_ONGROUND)
{
self.move_angles_x = 0;
SOUND(BRASS2, W_Sound("brass2"));
SOUND(BRASS3, W_Sound("brass3"));
Sound SND_BRASS_RANDOM() {
- return SOUNDS[SND_BRASS1.m_id + floor(prandom() * 3)];
+ return Sounds[SND_BRASS1.m_id + floor(prandom() * 3)];
}
SOUND(CASINGS1, W_Sound("casings1"));
SOUND(CASINGS2, W_Sound("casings2"));
SOUND(CASINGS3, W_Sound("casings3"));
Sound SND_CASINGS_RANDOM() {
- return SOUNDS[SND_CASINGS1.m_id + floor(prandom() * 3)];
+ return Sounds[SND_CASINGS1.m_id + floor(prandom() * 3)];
}
void Casing_Touch()