mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Add puzzle/key items in DOZY mode only if shift is held
This commit is contained in:
parent
3e5a3609cc
commit
e674b85268
1 changed files with 3 additions and 1 deletions
|
@ -892,7 +892,9 @@ void HandlePlayerFlyCheat(ItemInfo& item)
|
||||||
{
|
{
|
||||||
if (player.Context.Vehicle == NO_VALUE)
|
if (player.Context.Vehicle == NO_VALUE)
|
||||||
{
|
{
|
||||||
|
if (KeyMap[OIS::KeyCode::KC_LSHIFT] || KeyMap[OIS::KeyCode::KC_RSHIFT])
|
||||||
GivePlayerItemsCheat(item);
|
GivePlayerItemsCheat(item);
|
||||||
|
|
||||||
GivePlayerWeaponsCheat(item);
|
GivePlayerWeaponsCheat(item);
|
||||||
|
|
||||||
if (player.Control.WaterStatus != WaterStatus::FlyCheat)
|
if (player.Control.WaterStatus != WaterStatus::FlyCheat)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue