Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
thokkat committed Sep 8, 2024
1 parent 18dd6ba commit 9c570c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/world/worldobjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ bool checkTargetType(T&, TargetType) { return true; }
static bool checkTargetType(Npc& n, TargetType t) {
if(bool(t&(TARGET_TYPE_ALL|TARGET_TYPE_NPCS)))
return true;
int32_t gil = n.trueGuild();
Guild gil = Guild(n.trueGuild());
if(bool(t&TARGET_TYPE_HUMANS) && gil<GIL_SEPERATOR_HUM)
return true;
if(bool(t&TARGET_TYPE_ORCS) && gil>GIL_SEPERATOR_ORC)
Expand Down

0 comments on commit 9c570c8

Please sign in to comment.