From 977a9a68d2465818a331643399a9ecc998d0cbb3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 9 Nov 2013 15:22:44 +0000 Subject: Bumped network protocol to version 27, send player reputation and stats from server to client, send entity faction to clients, improved list_entity. --- src/game/base/ship.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/base/ship.cc') 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 { -- cgit v1.2.3