Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/player.h b/src/core/player.h
index afd1bc9..117de56 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -14,6 +14,7 @@ class Player;
#include "core/entity.h"
#include "core/message.h"
+#include "core/uid.h"
#include "core/zone.h"
#include "core/netclient.h"
#include "math/mathlib.h"
@@ -126,7 +127,7 @@ public:
}
/// player global unique id
- const std::string & guid() const {
+ UID & guid() {
return player_guid;
}
@@ -273,7 +274,7 @@ private:
int player_admin_level;
// global unique id
- std::string player_guid;
+ UID player_guid;
// dirty bit
bool player_dirty;