mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 12:11:21 +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,7 +149,8 @@ DDukeActor* spawninit_d(DDukeActor* actj, DDukeActor* act, TArray<DDukeActor*>*
|
|||
switch (act->spr.picnum)
|
||||
{
|
||||
default:
|
||||
CallInitialize(act);
|
||||
if (!badguy(act) || commonEnemySetup(act, actj))
|
||||
CallInitialize(act);
|
||||
break;
|
||||
case FOF:
|
||||
act->spr.scale = DVector2(0, 0);
|
||||
|
|
|
@ -61,7 +61,8 @@ DDukeActor* spawninit_r(DDukeActor* actj, DDukeActor* act, TArray<DDukeActor*>*
|
|||
{
|
||||
default:
|
||||
default_case:
|
||||
CallInitialize(act);
|
||||
if (!badguy(act) || commonEnemySetup(act, actj))
|
||||
CallInitialize(act);
|
||||
break;
|
||||
case RTILE_RRTILE7936:
|
||||
if (!isRRRA()) goto default_case;
|
||||
|
|
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,9 +263,12 @@ class DukeActor : CoreActor native
|
|||
self.scale = (0, 0);
|
||||
self.ChangeStat(STAT_MISC);
|
||||
}
|
||||
self.clipdist = 10;
|
||||
self.ownerActor = self;
|
||||
self.ChangeStat(STAT_ACTOR);
|
||||
else
|
||||
{
|
||||
self.clipdist = 10;
|
||||
self.ownerActor = self;
|
||||
self.ChangeStat(STAT_ACTOR);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue