Skip to content

Commit

Permalink
Fixed a wrongful name check for CHECK_PARAMS
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Dec 28, 2019
1 parent a5b868c commit 963774d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ then you can run the command below to build
```
cd SKY
mkdir build && cd build
cmake.exe ../
cmake -G "Visual Studio 15 2017" ../
cmake --build . --config Release
```

or you can open the source in Visual Studio, where it will autodetect that it uses CMake, and will
build a cache ready to be built

## Credits

# Contributors

- Slice (SKY Creator)
- Kurta999 (Previous YSF Maintainer)
- Y_Less (The original YSF Creator)
Expand All @@ -57,3 +56,4 @@ build a cache ready to be built
- Alanskz/J0sh (Packet/Network/Sync Patches)
- NickDodd25 (Code Cleanup)
- JustMichael/ADRFranklin (Maintainer)

2 changes: 1 addition & 1 deletion src/Scripting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static cell AMX_NATIVE_CALL FreezeSyncData(AMX *amx, cell *params)
// native FreezeSyncPacket(playerid, E_SYNC_TYPES:type = E_PLAYER_SYNC, bool:toggle)
static cell AMX_NATIVE_CALL FreezeSyncPacket(AMX *amx, cell *params)
{
CHECK_PARAMS(3, "FreezeSyncData");
CHECK_PARAMS(3, "FreezeSyncPacket");

return Versions::getNetGame([params](auto netGame, auto structs) {
using Structs = decltype(structs);
Expand Down

0 comments on commit 963774d

Please sign in to comment.