mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-19 15:11:04 +00:00
- move the recon's FTA sound into the scripted actor.
This commit is contained in:
parent
ef54987a58
commit
1bc7c53351
2 changed files with 9 additions and 3 deletions
|
@ -54,9 +54,6 @@ void check_fta_sounds_d(DDukeActor* actor)
|
||||||
{
|
{
|
||||||
if (actor->spr.extra > 0) switch (actor->spr.picnum)
|
if (actor->spr.extra > 0) switch (actor->spr.picnum)
|
||||||
{
|
{
|
||||||
case DTILE_RECON:
|
|
||||||
S_PlayActorSound(RECO_RECOG, actor);
|
|
||||||
break;
|
|
||||||
case DTILE_DRONE:
|
case DTILE_DRONE:
|
||||||
S_PlayActorSound(DRON_RECOG, actor);
|
S_PlayActorSound(DRON_RECOG, actor);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -209,6 +209,11 @@ class DukeRecon : DukeActor
|
||||||
t.SetSpritePic(self, abs(self.temp_data[3]) > 64);
|
t.SetSpritePic(self, abs(self.temp_data[3]) > 64);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void PlayFTASound()
|
||||||
|
{
|
||||||
|
self.PlayActorSound("RECO_RECOG");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,6 +247,10 @@ class RedneckUFO1 : DukeRecon
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void PlayFTASound()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class RedneckUFO2 : RedneckUFO1
|
class RedneckUFO2 : RedneckUFO1
|
||||||
|
|
Loading…
Reference in a new issue