diff options
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/faction.cc | 1 | ||||
-rw-r--r-- | src/game/base/ship.cc | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/game/base/faction.cc b/src/game/base/faction.cc index 8171a2d..512a8c6 100644 --- a/src/game/base/faction.cc +++ b/src/game/base/faction.cc @@ -220,6 +220,7 @@ void Faction::apply_default(core::Reputation & reputation) } } } + reputation.set_dirty(); } } // namespace game diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 08838ad..b046d9d 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -657,7 +657,7 @@ void Ship::hit(core::Entity *other) std::string message("^B"); message.append(owner()->name()); - if (assassin) { + if (assassin) { if (assassin == owner()) { message.append(" ^Bran into his own mine."); } else { @@ -667,6 +667,7 @@ void Ship::hit(core::Entity *other) // asssissin killed a player assassin->set_pvpkills(assassin->pvpkills() + 1); + assassin->set_dirty(); } } else { message.append(" ^Bwent boom."); @@ -678,6 +679,7 @@ void Ship::hit(core::Entity *other) if (assassin) { // assissin killed an NPC assassin->set_npckills(assassin->npckills() + 1); + assassin->set_dirty(); } } } @@ -733,6 +735,7 @@ void Ship::hit(core::Entity *other) // assissin killed an NPC assassin->set_npckills(assassin->npckills() + 1); } + assassin->set_dirty(); } } else { |