mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-12 21:47:03 +03:00
Possible fix to missing pistols
This commit is contained in:
parent
18640b4f04
commit
2b97b92cea
1 changed files with 5 additions and 7 deletions
|
@ -681,13 +681,11 @@ void InitialiseLara(int restore)
|
|||
Lara.skelebob = 0;
|
||||
|
||||
short gun = WEAPON_NONE;
|
||||
if (LaraDrawType != LARA_YOUNG)
|
||||
{
|
||||
if (Objects[ID_PISTOLS_ITEM].loaded)
|
||||
gun = WEAPON_PISTOLS;
|
||||
else if (Objects[ID_HK_ITEM].loaded)
|
||||
gun = WEAPON_HK;
|
||||
}
|
||||
|
||||
if (Objects[ID_PISTOLS_ITEM].loaded)
|
||||
gun = WEAPON_PISTOLS;
|
||||
else if (Objects[ID_HK_ITEM].loaded)
|
||||
gun = WEAPON_HK;
|
||||
|
||||
Lara.lastGunType = Lara.gunType = Lara.requestGunType = gun;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue