diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-10 20:45:38 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-10 20:45:38 +0000 |
| commit | 578aa5f744dfa59b4120125318338ffb5f5e2717 (patch) | |
| tree | 90449e872e54b230a82c2183333874aa010d18f5 /src/game/server | |
| parent | f09c94ae1aaa4134f430dc934b246356e93dfa0e (diff) | |
| download | zcatch-578aa5f744dfa59b4120125318338ffb5f5e2717.tar.gz zcatch-578aa5f744dfa59b4120125318338ffb5f5e2717.zip | |
fixed the double sounds
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/srv_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/srv_common.h b/src/game/server/srv_common.h index 25af52b0..82375d25 100644 --- a/src/game/server/srv_common.h +++ b/src/game/server/srv_common.h @@ -8,7 +8,7 @@ void create_sound_global(int sound, int target=-1); inline int cmask_all() { return -1; } inline int cmask_one(int cid) { return 1<<cid; } inline int cmask_all_except_one(int cid) { return 0x7fffffff^cmask_one(cid); } -inline bool cmask_is_set(int mask, int cid) { return mask&cmask_one(cid) != 0; } +inline bool cmask_is_set(int mask, int cid) { return (mask&cmask_one(cid)) != 0; } // class event_handler |