Skip to content

Commit

Permalink
Fix params check for Streamer_(Has/Remove)IntData (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
xunder-matth committed Aug 6, 2021
1 parent 49f9f16 commit 5696cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/natives/manipulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ cell AMX_NATIVE_CALL Natives::Streamer_SetIntData(AMX *amx, cell *params)

cell AMX_NATIVE_CALL Natives::Streamer_RemoveIntData(AMX *amx, cell *params)
{
CHECK_PARAMS(4);
CHECK_PARAMS(3);
return static_cast<cell>(Manipulation::removeIntData(amx, params));
}

cell AMX_NATIVE_CALL Natives::Streamer_HasIntData(AMX *amx, cell *params)
{
CHECK_PARAMS(4);
CHECK_PARAMS(3);
return static_cast<cell>(Manipulation::hasIntData(amx, params));
}

Expand Down

0 comments on commit 5696cee

Please sign in to comment.