Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoBorzi committed Nov 1, 2021
1 parent 1f9c874 commit 29a306e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod-as-platform/src/AZTH_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ class Unit_SC : public UnitScript
if (index == UNIT_FIELD_BYTES_2) // Allow targetting opposite faction in party when enabled in config
fieldBuffer << (unit->GetUInt32Value(UNIT_FIELD_BYTES_2) & ((UNIT_BYTE2_FLAG_SANCTUARY) << 8)); // this flag is at uint8 offset 1 !!
else // pretend that all other HOSTILE players have own faction, to allow follow, heal, rezz (trade wont work)
fieldBuffer << uint32(target->getFaction());
fieldBuffer << uint32(target->GetFaction());

return true;
}
Expand Down

0 comments on commit 29a306e

Please sign in to comment.