2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-03-13 05:50:16 +03:00

Fix HadRoundExpired

This commit is contained in:
s1lent 2017-10-22 23:12:48 +07:00
parent 7f32d83fed
commit 79c1d95794
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -6,7 +6,7 @@
// Returns 1 if round ended by expired time
// @note: Use this for hookchain RG_RoundEnd with the parameter ScenarioEventEndRound:event
#define HadRoundExpired(event) (1<<_:event) & (1<<_:ROUND_TARGET_SAVED) | (1<<_:ROUND_HOSTAGE_NOT_RESCUED) | (1<<_:ROUND_TERRORISTS_NOT_ESCAPED) | (1<<_:ROUND_VIP_NOT_ESCAPED)
#define HadRoundExpired(event) (1<<_:event) & ((1<<_:ROUND_TARGET_SAVED) | (1<<_:ROUND_HOSTAGE_NOT_RESCUED) | (1<<_:ROUND_TERRORISTS_NOT_ESCAPED) | (1<<_:ROUND_VIP_NOT_ESCAPED) | (1<<_:ROUND_GAME_OVER))
// suppress warning: 200 on amxmodx 1.8.2
#if AMXX_VERSION_NUM < 183