diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 23:00:46 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 23:00:46 +0000 |
| commit | ac1aeab149f704ab1b297be9c7662c5705e5e40d (patch) | |
| tree | 2c5fe9dcfe06c648ea2e1d8e87b638a76aeb1813 /src/game/server/entities/laser.hpp | |
| parent | 9f7a6a04b0862737ca4566fb443140025505a522 (diff) | |
| download | zcatch-ac1aeab149f704ab1b297be9c7662c5705e5e40d.tar.gz zcatch-ac1aeab149f704ab1b297be9c7662c5705e5e40d.zip | |
fixed incorrect handling of projectiel and laser owner
Diffstat (limited to 'src/game/server/entities/laser.hpp')
| -rw-r--r-- | src/game/server/entities/laser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |