Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/player.h b/src/core/player.h
index ecb9ea3..dccd8e6 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -80,7 +80,7 @@ public:
inline long credits() const { return player_credits; }
/// returns true of the player has enough credits to pay amount
- inline bool has_credits(unsigned amount) const { return (player_credits >= amount); }
+ inline bool has_credits(const long amount) const { return (player_credits >= amount); }
/*----- messages -------------------------------------------------- */