Skip to content

Commit

Permalink
disallow looking around when dead
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Feb 22, 2021
1 parent b937e2d commit 7a3d78d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/lara.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void __cdecl LaraAboveWater(ITEM_INFO* item, COLL_INFO* coll)
coll->enable_baddie_push = 1;

#ifdef TOMB1M_FEAT_GAMEPLAY
if (Tomb1MConfig.enable_enhanced_look) {
if (Tomb1MConfig.enable_enhanced_look && item->hit_points > 0) {
if (Input & IN_LOOK) {
Tomb1MLookLeftRight();
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/game/laraswim.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void __cdecl LaraUnderWater(ITEM_INFO* item, COLL_INFO* coll)
coll->enable_baddie_push = 0;

#ifdef TOMB1M_FEAT_GAMEPLAY
if (Tomb1MConfig.enable_enhanced_look) {
if (Tomb1MConfig.enable_enhanced_look && item->hit_points > 0) {
if (Input & IN_LOOK) {
Tomb1MLookLeftRight();
} else {
Expand Down

0 comments on commit 7a3d78d

Please sign in to comment.