mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- default terrain's DamageTimeMask to a reasonable value.
Use 31, which is the default for damaging floor specials instead of 0.
This commit is contained in:
parent
920b322d72
commit
8613e47899
1 changed files with 3 additions and 0 deletions
|
@ -270,6 +270,7 @@ static void MakeDefaultTerrain ()
|
|||
|
||||
def.Name = "Solid";
|
||||
def.Splash = -1;
|
||||
def.DamageTimeMask = 31;
|
||||
Terrains.Push (def);
|
||||
}
|
||||
|
||||
|
@ -432,6 +433,7 @@ void ParseTerrain (FScanner &sc)
|
|||
memset (&def, 0, sizeof(def));
|
||||
def.Splash = -1;
|
||||
def.Name = name;
|
||||
def.DamageTimeMask = 31;
|
||||
terrainnum = (int)Terrains.Push (def);
|
||||
}
|
||||
|
||||
|
@ -443,6 +445,7 @@ void ParseTerrain (FScanner &sc)
|
|||
memset (&Terrains[terrainnum], 0, sizeof(FTerrainDef));
|
||||
Terrains[terrainnum].Splash = -1;
|
||||
Terrains[terrainnum].Name = name;
|
||||
Terrains[terrainnum].DamageTimeMask = 31;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue