Oh look another oopsie.
This commit is contained in:
parent
ab1f8ac125
commit
1d6a7fb0c6
2 changed files with 6 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r592 \cu(Tue 10 Aug 23:41:54 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r592 \cu(2021-08-10 23:41:54)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r593 \cu(Wed 11 Aug 14:21:18 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r593 \cu(2021-08-11 14:21:18)\c-";
|
||||
|
|
|
|||
|
|
@ -639,6 +639,8 @@ Class mkGibber : Actor
|
|||
color shadecol;
|
||||
Class<Actor> gibtype; // allow custom gib types (will be used for monster pack)
|
||||
|
||||
Property GibType: gibtype;
|
||||
|
||||
virtual void BurstGibs()
|
||||
{
|
||||
Actor a;
|
||||
|
|
@ -659,7 +661,7 @@ Class mkGibber : Actor
|
|||
}
|
||||
for ( int i=0; i<gibsize; i++ )
|
||||
{
|
||||
[dummy, a] = A_SpawnItemEx(gibtype?gibtype:"mkFlyingGib",FRandom[Gibs](-.5,.5)*radius,FRandom[Gibs](-.5,.5)*radius,FRandom[Gibs](.1,.9)*height,flags:SXF_ABSOLUTEANGLE|SXF_USEBLOODCOLOR);
|
||||
[dummy, a] = A_SpawnItemEx(gibtype,FRandom[Gibs](-.5,.5)*radius,FRandom[Gibs](-.5,.5)*radius,FRandom[Gibs](.1,.9)*height,flags:SXF_ABSOLUTEANGLE|SXF_USEBLOODCOLOR);
|
||||
a.translation = translation;
|
||||
a.CopyBloodColor(self);
|
||||
a.scale *= scale.x;
|
||||
|
|
@ -728,6 +730,7 @@ Class mkGibber : Actor
|
|||
+NOINTERACTION;
|
||||
Radius 32;
|
||||
Height 16;
|
||||
mkGibber.GibType "mkFlyingGib";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue