- changed storage of lump and texture names in gameinfo to allow long names (with the exception of view border elements.)
This commit is contained in:
parent
e718a72b4d
commit
a05e62f3f7
9 changed files with 29 additions and 31 deletions
|
|
@ -42,9 +42,9 @@ void ABasicArmor::Tick ()
|
|||
AbsorbCount = 0;
|
||||
if (!Icon.isValid())
|
||||
{
|
||||
const char *icon = gameinfo.ArmorIcon1;
|
||||
FString icon = gameinfo.ArmorIcon1;
|
||||
|
||||
if (SavePercent >= gameinfo.Armor2Percent && gameinfo.ArmorIcon2[0] != 0)
|
||||
if (SavePercent >= gameinfo.Armor2Percent && gameinfo.ArmorIcon2.Len() != 0)
|
||||
icon = gameinfo.ArmorIcon2;
|
||||
|
||||
if (icon[0] != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue