diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-02 03:02:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-02 03:02:25 +0300 |
commit | 17631dacf2cb8ebc3acc1dae9df0729a80a150d9 (patch) | |
tree | f05dce9d2cedcf3690f789e7697658608bd83436 /src/playerrelations.h | |
parent | 30a3e0b6d4b773e2d803730d9815c4d0eab3ff81 (diff) | |
download | plus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.gz plus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.bz2 plus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.xz plus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.zip |
Add enemy relation.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r-- | src/playerrelations.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h index 41ca14b40..fbff5a01d 100644 --- a/src/playerrelations.h +++ b/src/playerrelations.h @@ -45,8 +45,9 @@ struct PlayerRelation 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 RELATIONS_NR = 6; + static const unsigned int RELATIONS_NR = 7; static const unsigned int RELATION_PERMISSIONS[RELATIONS_NR]; static const unsigned int DEFAULT = EMOTE @@ -61,7 +62,8 @@ struct PlayerRelation DISREGARDED = 2, IGNORED = 3, ERASED = 4, - BLACKLISTED = 5 + BLACKLISTED = 5, + ENEMY2 = 6 }; PlayerRelation(Relation relation); |