move sol2 specific warning to where it's needed

https: //github.com/XLabsProject/iw6x-client/pull/638
Co-Authored-By: Edo <edoardo.sanguineti222@gmail.com>
This commit is contained in:
m 2022-08-16 23:31:38 -05:00
parent dd65494ca2
commit 9ef9f7e161
2 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#pragma warning(push)
#pragma warning(disable: 4702)
#pragma warning(disable: 5056)
#define SOL_ALL_SAFETIES_ON 1
#define SOL_PRINT_ERRORS 0

View File

@ -13,7 +13,6 @@
#pragma warning(disable: 4702)
#pragma warning(disable: 4996)
#pragma warning(disable: 5054)
#pragma warning(disable: 5056)
#pragma warning(disable: 6011)
#pragma warning(disable: 6297)
#pragma warning(disable: 6385)