Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/projectile.h')
-rw-r--r--src/game/base/projectile.h5
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;