mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-23 20:42:45 +00:00
- Duke: fixed setup of purely scripted enemies,
Some band-aid is still needed for the time being.
This commit is contained in:
parent
17392fe400
commit
6c77d1c39e
4 changed files with 10 additions and 5 deletions
|
@ -149,6 +149,7 @@ DDukeActor* spawninit_d(DDukeActor* actj, DDukeActor* act, TArray<DDukeActor*>*
|
|||
switch (act->spr.picnum)
|
||||
{
|
||||
default:
|
||||
if (!badguy(act) || commonEnemySetup(act, actj))
|
||||
CallInitialize(act);
|
||||
break;
|
||||
case FOF:
|
||||
|
|
|
@ -61,6 +61,7 @@ DDukeActor* spawninit_r(DDukeActor* actj, DDukeActor* act, TArray<DDukeActor*>*
|
|||
{
|
||||
default:
|
||||
default_case:
|
||||
if (!badguy(act) || commonEnemySetup(act, actj))
|
||||
CallInitialize(act);
|
||||
break;
|
||||
case RTILE_RRTILE7936:
|
||||
|
|
BIN
wadsrc/static/filter/blood/fonts/bigfont/0110.lmp
Normal file
BIN
wadsrc/static/filter/blood/fonts/bigfont/0110.lmp
Normal file
Binary file not shown.
|
@ -263,10 +263,13 @@ class DukeActor : CoreActor native
|
|||
self.scale = (0, 0);
|
||||
self.ChangeStat(STAT_MISC);
|
||||
}
|
||||
else
|
||||
{
|
||||
self.clipdist = 10;
|
||||
self.ownerActor = self;
|
||||
self.ChangeStat(STAT_ACTOR);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue