From 963774d049a9212fbb97da3be14f095d885ea6f0 Mon Sep 17 00:00:00 2001 From: Arron Franklin Date: Sat, 28 Dec 2019 01:31:38 +0000 Subject: [PATCH] Fixed a wrongful name check for CHECK_PARAMS --- readme.md | 6 +++--- src/Scripting.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index f218845..465c10e 100644 --- a/readme.md +++ b/readme.md @@ -38,7 +38,8 @@ 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 @@ -46,8 +47,6 @@ build a cache ready to be built ## Credits -# Contributors - - Slice (SKY Creator) - Kurta999 (Previous YSF Maintainer) - Y_Less (The original YSF Creator) @@ -57,3 +56,4 @@ build a cache ready to be built - Alanskz/J0sh (Packet/Network/Sync Patches) - NickDodd25 (Code Cleanup) - JustMichael/ADRFranklin (Maintainer) + diff --git a/src/Scripting.cpp b/src/Scripting.cpp index 72178de..2150a81 100644 --- a/src/Scripting.cpp +++ b/src/Scripting.cpp @@ -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);