summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-22 13:47:35 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-22 13:47:35 +0000
commit19a3d8395772b65d0624d2413c2e7e8b845cdb7d (patch)
treece330de2bbbf871a6a8c19763862cc48b4c09741 /src/player.cpp
parent90b35878719aea081232adbb58fc906a3b3e0f79 (diff)
downloadmana-19a3d8395772b65d0624d2413c2e7e8b845cdb7d.tar.gz
mana-19a3d8395772b65d0624d2413c2e7e8b845cdb7d.tar.bz2
mana-19a3d8395772b65d0624d2413c2e7e8b845cdb7d.tar.xz
mana-19a3d8395772b65d0624d2413c2e7e8b845cdb7d.zip
Add permissions to guild members. Alt-Gr fix for Rotonen from 0.0
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 61730724..49f0221d 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -153,9 +153,9 @@ void Player::setSprite(int slot, int id, const std::string &color)
Being::setSprite(slot, id, color);
}
-Guild* Player::addGuild(short guildId, bool inviteRights)
+Guild* Player::addGuild(short guildId, short rights)
{
- Guild *guild = new Guild(guildId, inviteRights);
+ Guild *guild = new Guild(guildId, rights);
mGuilds.insert(std::pair<int, Guild*>(guildId, guild));
return guild;
}