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/spacemine.h')
-rw-r--r--src/game/base/spacemine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/base/spacemine.h b/src/game/base/spacemine.h
index 3c314c2..621a5a9 100644
--- a/src/game/base/spacemine.h
+++ b/src/game/base/spacemine.h
@@ -44,9 +44,9 @@ public:
/**
* @brief id of the player who dropped the spacemine
* */
- inline const int ownerid() const
+ inline const int owner_id() const
{
- return spacemine_ownerid;
+ return spacemine_owner_id;
}
/* --- mutators -------------------------------------------- */
@@ -62,16 +62,16 @@ public:
/**
* @brief set the id of the player who dropped the spacemine
* */
- inline void set_ownerid(const int ownerid)
+ inline void set_owner_id(const int owner_id)
{
- spacemine_ownerid = ownerid;
+ spacemine_owner_id = owner_id;
}
private:
unsigned long spacemine_detonated_timestamp;
float spacemine_damage;
- int spacemine_ownerid;
+ int spacemine_owner_id;
static const Template *spacemine_template;
};