Skip to content

Commit

Permalink
Update player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ikonomov authored Mar 10, 2024
1 parent 5988449 commit 2084d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ bool PlrHitMonst(Player &player, Monster &monster, bool adjacentDamage = false)
{
int hper = 0;

if (!monster.isPossibleToHit() || (monster.type().type == MT_GOLEM && sgGameInitInfo.bFriendlyFire == 0 && player.friendlyMode))
if (!monster.isPossibleToHit() || (monster.type().type == MT_GOLEM && player.friendlyMode))
return false;

if (adjacentDamage) {
Expand Down

0 comments on commit 2084d94

Please sign in to comment.