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/faction.h')
-rw-r--r--src/game/base/faction.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/base/faction.h b/src/game/base/faction.h
index c78c2f2..b459899 100644
--- a/src/game/base/faction.h
+++ b/src/game/base/faction.h
@@ -42,7 +42,7 @@ public:
/**
* @brief player reputation with a specific faction
* */
- inline const float reputation(const Info *faction) const {
+ inline const float reputation(const core::Info *faction) const {
if (faction == this) {
return 100.0f;
} else {
@@ -88,6 +88,10 @@ public:
* */
static void apply_default(core::Reputation & reputation);
+ static inline const core::InfoType *infotype() {
+ return faction_infotype;
+ }
+
private:
/* --- attributes ------------------------------------------------- */