mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- initialize the new temporary actor properties to something useful.
This commit is contained in:
parent
5da28bf5ad
commit
608b4e8e0f
2 changed files with 4 additions and 2 deletions
|
@ -674,6 +674,8 @@ void ZCCRazeCompiler::InitDefaults()
|
|||
bag.Namespace = OutNamespace;
|
||||
bag.Info = ti;
|
||||
bag.Lumpnum = c->cls->SourceLump;
|
||||
bag.DefaultAction = NAME_Null; // 'none' is valíd content here so use 'null' as 'not set'.
|
||||
bag.DefaultMove = NAME_Null;
|
||||
// The actual script position needs to be set per property.
|
||||
|
||||
for (auto d : c->Defaults)
|
||||
|
|
|
@ -89,9 +89,9 @@ static void cachespritenum(DDukeActor* actor)
|
|||
tloadtile(j, pal);
|
||||
maxc = 0;
|
||||
break;
|
||||
case RTILE_SBSWIPE:
|
||||
case RTILE_BUBBAELVIS:
|
||||
if (isRRRA())
|
||||
for (j = RTILE_SBSWIPE; j <= (RTILE_SBSWIPE + 29); j++)
|
||||
for (j = RTILE_BUBBAELVIS; j <= (RTILE_BUBBAELVIS + 29); j++)
|
||||
tloadtile(j, pal);
|
||||
maxc = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue