Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/npc.cc')
-rw-r--r--src/game/base/npc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/npc.cc b/src/game/base/npc.cc
index d09f8a2..ca2a1c2 100644
--- a/src/game/base/npc.cc
+++ b/src/game/base/npc.cc
@@ -140,7 +140,7 @@ Ship *NPC::target_closest_enemy()
}
// reputation threshold to get attacked
- if (reputation >= -50.0f) {
+ if (reputation > core::range::reputation_hostile) {
continue;
}