Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-01-01 11:51:48 +0000
committerStijn Buys <ingar@osirion.org>2009-01-01 11:51:48 +0000
commitaaf65b0bb509361f5c4513ea54c294f09d62b240 (patch)
treeb76c3a4e6fe3dc85099f838127ebfe11802c7252 /src/core/player.h
parent4e1d951705204899ee99d7fcedf582b25b86b506 (diff)
fixes comparison between signed and unsigned
Diffstat (limited to 'src/core/player.h')
-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 -------------------------------------------------- */