From 0c6499e6789db9686bcea3bb3b7f782c2f659eb7 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 24 Dec 2014 21:11:43 +0000 Subject: Prevent projectiles from hitting the enity that fired it, prevent projectiles from hitting each other. --- src/game/base/npc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/base/npc.cc') diff --git a/src/game/base/npc.cc b/src/game/base/npc.cc index f9a600e..d52c612 100644 --- a/src/game/base/npc.cc +++ b/src/game/base/npc.cc @@ -307,7 +307,7 @@ void NPC::frame(const unsigned long elapsed) if (zone() != carrier->zone()) { set_zone(carrier->zone()); - } + } if (carrier->state() == core::Entity::Destroyed) { explode(); -- cgit v1.2.3