diff options
author | Stijn Buys <ingar@osirion.org> | 2012-11-18 17:59:52 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-11-18 17:59:52 +0000 |
commit | df20ff5ad47b1d8a04385956589a7564522258a6 (patch) | |
tree | 55112286358004c7f5099c9a78f74cc5113063f3 /src/game/base/projectile.h | |
parent | 2cd1f55f26f2236641fa2f3b36d9d23b99ca072f (diff) |
Support for ownerid() on projectiles and spacemines,
show assassin name in death messages.
Diffstat (limited to 'src/game/base/projectile.h')
-rw-r--r-- | src/game/base/projectile.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/base/projectile.h b/src/game/base/projectile.h index 877632f..f9cda64 100644 --- a/src/game/base/projectile.h +++ b/src/game/base/projectile.h @@ -64,7 +64,10 @@ public: { projectile_damage = damage; } - + + /** + * @brief set the id of the player who fired the projectile + * */ inline void set_ownerid(const int ownerid) { projectile_ownerid = ownerid; |