From ac1aeab149f704ab1b297be9c7662c5705e5e40d Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 20 Oct 2008 23:00:46 +0000 Subject: fixed incorrect handling of projectiel and laser owner --- src/game/server/entities/laser.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/server/entities/laser.hpp') diff --git a/src/game/server/entities/laser.hpp b/src/game/server/entities/laser.hpp index 4842b3f8..aa4c2284 100644 --- a/src/game/server/entities/laser.hpp +++ b/src/game/server/entities/laser.hpp @@ -14,14 +14,14 @@ class LASER : public ENTITY float energy; int bounces; int eval_tick; - CHARACTER *owner; + int owner; bool hit_character(vec2 from, vec2 to); void do_bounce(); public: - LASER(vec2 pos, vec2 direction, float start_energy, CHARACTER *owner); + LASER(vec2 pos, vec2 direction, float start_energy, int owner); virtual void reset(); virtual void tick(); -- cgit 1.4.1