Skip to content

Commit

Permalink
Lazy to explain, YSI to an exact working version, fix build (#610)
Browse files Browse the repository at this point in the history
* fix broken build cause of latest changes in dependecies

* force to use YSI v5.05.0301

newer ones don't work for some reason, latest one doesn't even work in samp

* undef IsNaN if it's already defined somewhere in YSI
  • Loading branch information
AmyrAhmady authored Oct 4, 2021
1 parent 79667d8 commit 3315e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gamemodes/ScavengeSurvive.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public OnGameModeInit()
#include "sss\core\server\hooks.pwn"// Internal library for hooking functions before they are used in external libraries.

// Temporary fix
#if !defined IsNaN
#if defined IsNaN
#undef IsNaN
#endif

Expand Down
4 changes: 2 additions & 2 deletions pawn.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Southclaws/pawn-errors",
"maddinat0r/sscanf:v2.8.3",
"samp-incognito/samp-streamer-plugin:v2.9.4",
"pawn-lang/YSI-Includes",
"pawn-lang/YSI-Includes:v5.05.0301",
"Southclaws/formatex",
"oscar-broman/strlib",
"Southclaws/pawn-chrono:1.0.0",
Expand Down Expand Up @@ -60,4 +60,4 @@
"long_call_time": "0"
}
}
}
}

0 comments on commit 3315e5b

Please sign in to comment.