mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-28 07:35:31 +03:00
Fix error 029: invalid expression for IsRoundExpireEvent (#286)
This commit is contained in:
parent
2142208e77
commit
fcca39b87b
@ -9,7 +9,7 @@
|
||||
*
|
||||
* @note Use this for hookchain RG_RoundEnd with the parameter ScenarioEventEndRound:event
|
||||
*/
|
||||
#define IsRoundExpireEvent(%0) (((1<<_:(%0) + ScenarioEventEndRound:0)) & ((1<<_:ROUND_TARGET_SAVED) | (1<<_:ROUND_HOSTAGE_NOT_RESCUED) | (1<<_:ROUND_TERRORISTS_NOT_ESCAPED) | (1<<_:ROUND_VIP_NOT_ESCAPED) | (1<<_:ROUND_GAME_OVER))) != 0)
|
||||
#define IsRoundExpireEvent(%0) (((1 << _:(%0) + _:ScenarioEventEndRound:0) & ((1 << _:ROUND_TARGET_SAVED) | (1 << _:ROUND_HOSTAGE_NOT_RESCUED) | (1 << _:ROUND_TERRORISTS_NOT_ESCAPED) | (1 << _:ROUND_VIP_NOT_ESCAPED) | (1 << _:ROUND_GAME_OVER))) != 0)
|
||||
|
||||
/**
|
||||
* suppress warning: 200 on amxmodx 1.8.2
|
||||
|
Loading…
Reference in New Issue
Block a user