diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-21 13:30:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-21 13:30:39 +0300 |
commit | 1fcc02e803d83ae8415ff44f9696cb215f475daa (patch) | |
tree | 3c4ccb5160624db095a139cb5a81a982e156d81c /src/being | |
parent | 126fa885664da8a8de86f3a38c04469f7006e447 (diff) | |
download | manaverse-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.gz manaverse-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.bz2 manaverse-1fcc02e803d83ae8415ff44f9696cb215f475daa.tar.xz manaverse-1fcc02e803d83ae8415ff44f9696cb215f475daa.zip |
fix signed shifts.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerrelations.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/being/playerrelations.h b/src/being/playerrelations.h index 3543d4221..c9a884d2e 100644 --- a/src/being/playerrelations.h +++ b/src/being/playerrelations.h @@ -35,14 +35,14 @@ class PlayerRelationsListener; struct PlayerRelation final { - static const unsigned int EMOTE = (1 << 0); - static const unsigned int SPEECH_FLOAT = (1 << 1); - static const unsigned int SPEECH_LOG = (1 << 2); - static const unsigned int WHISPER = (1 << 3); - static const unsigned int TRADE = (1 << 4); - static const unsigned int INVISIBLE = (1 << 5); - static const unsigned int BLACKLIST = (1 << 6); - static const unsigned int ENEMY = (1 << 7); + static const unsigned int EMOTE = (1U << 0); + static const unsigned int SPEECH_FLOAT = (1U << 1); + static const unsigned int SPEECH_LOG = (1U << 2); + static const unsigned int WHISPER = (1U << 3); + static const unsigned int TRADE = (1U << 4); + static const unsigned int INVISIBLE = (1U << 5); + static const unsigned int BLACKLIST = (1U << 6); + static const unsigned int ENEMY = (1U << 7); static const unsigned int RELATIONS_NR = 7; static const unsigned int RELATION_PERMISSIONS[RELATIONS_NR]; |