mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-01 03:35:55 +00:00
Changes for the pull request.
This commit is contained in:
parent
b83a0d469a
commit
4c385edd0c
|
@ -76,7 +76,7 @@ int16 &CHud::PagerTimer = *(int16*)0x95CC3A;
|
||||||
int16 &CHud::PagerOn = *(int16*)0x95CCA0;
|
int16 &CHud::PagerOn = *(int16*)0x95CCA0;
|
||||||
|
|
||||||
CSprite2d *CHud::Sprites = (CSprite2d*)0x95CB9C;
|
CSprite2d *CHud::Sprites = (CSprite2d*)0x95CB9C;
|
||||||
char *HudNames[] = { "fist",
|
char *WeaponFilenames[] = { "fist",
|
||||||
"fistm",
|
"fistm",
|
||||||
"bat",
|
"bat",
|
||||||
"batm",
|
"batm",
|
||||||
|
@ -136,8 +136,8 @@ void CHud::Initialise() {
|
||||||
CTxdStore::PopCurrentTxd();
|
CTxdStore::PopCurrentTxd();
|
||||||
CTxdStore::SetCurrentTxd(HudTXD);
|
CTxdStore::SetCurrentTxd(HudTXD);
|
||||||
|
|
||||||
for (int i = 0; i < 23; i++) {
|
for (int i = 0; i < ARRAY_SIZE(WeaponFilenames) / 2; i++) {
|
||||||
Sprites[i].SetTexture(HudNames[i * 2]);
|
Sprites[i].SetTexture(WeaponFilenames[i * 2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
gpSniperSightTex = RwTextureRead("sitesniper", 0);
|
gpSniperSightTex = RwTextureRead("sitesniper", 0);
|
||||||
|
|
Loading…
Reference in a new issue