make reloadables optional

This commit is contained in:
Xinerki 2020-05-21 16:47:48 +03:00
parent 6912cfe98a
commit 6692f5b2aa
4 changed files with 9 additions and 0 deletions

View file

@ -1476,6 +1476,7 @@ void CHud::GetRidOfAllHudMessages()
}
}
#ifdef RELOADABLES
void CHud::ReloadTXD()
{
for (int i = 0; i < NUM_HUD_SPRITES; ++i) {
@ -1497,6 +1498,7 @@ void CHud::ReloadTXD()
Sprites[i].SetTexture(WeaponFilenames[i].name, WeaponFilenames[i].mask);
}
}
#endif
void CHud::Initialise()
{