mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +00:00
- forgot to save this before committing.
This commit is contained in:
parent
f7cdb28eac
commit
c9e4f120e7
1 changed files with 3 additions and 0 deletions
|
@ -401,6 +401,9 @@ int G_SkillProperty(ESkillProperty prop)
|
||||||
case SKILLP_ArmorFactor:
|
case SKILLP_ArmorFactor:
|
||||||
return AllSkills[gameskill].ArmorFactor;
|
return AllSkills[gameskill].ArmorFactor;
|
||||||
|
|
||||||
|
case SKILLP_HealthFactor:
|
||||||
|
return AllSkills[gameskill].HealthFactor;
|
||||||
|
|
||||||
case SKILLP_Infight:
|
case SKILLP_Infight:
|
||||||
// This property also needs to consider the level flags for the same info.
|
// This property also needs to consider the level flags for the same info.
|
||||||
if (level.flags2 & LEVEL2_TOTALINFIGHTING) return 1;
|
if (level.flags2 & LEVEL2_TOTALINFIGHTING) return 1;
|
||||||
|
|
Loading…
Reference in a new issue