- turned off compiler warning in VS2010

- fixed compiler error in VS2010

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8317 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
silversurfer
2016-10-15 18:18:10 +00:00
parent 68294910b8
commit 5f4a7e2331
3 changed files with 15 additions and 11 deletions
+4
View File
@@ -79,6 +79,10 @@ typedef struct
} ITEM_POOL_LOCATOR;
// silversurfer: added this to prevent tons of compiler warnings in VS2010 because of new behaviour for array initialization used in below structs
// see https://msdn.microsoft.com/en-us/library/1ywe7hcy.aspx
#pragma warning( disable : 4351 )
// Flugente: we can construct and deconstruct map structures via items.
typedef struct STRUCTURE_DECONSTRUCT {
STRUCTURE_DECONSTRUCT()