- 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:
Christoph Oelckers 2014-05-13 12:44:17 +02:00
commit a05e62f3f7
9 changed files with 29 additions and 31 deletions

View file

@ -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)