Little typo in the setting name

Was checking if kidnap setting is enabled instead of checking the animation setting.
This commit is contained in:
Cloudy 2019-06-13 13:08:31 +03:00
parent a2f11b3786
commit 7f46ea3487

View File

@ -366,7 +366,7 @@ stock CreateLoopingAnimation( playerid, animlib[ ], animname[ ], Float:Speed, lo
{
// event check
#if defined __cloudy_event_system
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_KIDNAP ) )
if ( IsPlayerInEvent( playerid ) && ! EventSettingAllow( EVENT_SETTING_ANIM ) )
#else
if ( IsPlayerInEvent( playerid ) )
#endif