Mercurial > mm7
diff Items.cpp @ 1225:42b41aaecd87
Слияние
author | Ritor1 |
---|---|
date | Wed, 05 Jun 2013 21:00:45 +0600 |
parents | 23632c91ed0a 29a8defbad9e |
children | 182b910c528d |
line wrap: on
line diff
--- a/Items.cpp Wed Jun 05 21:00:11 2013 +0600 +++ b/Items.cpp Wed Jun 05 21:00:45 2013 +0600 @@ -1,3 +1,7 @@ +#ifdef _MSC_VER +#define _CRT_SECURE_NO_WARNINGS +#endif + #include <stdlib.h> #include <assert.h> @@ -790,7 +794,7 @@ { for(int ii=0; ii<24; ++ii) { - if (stricmp(test_string,pEnchantments[ii].pBonusStat)) + if (_stricmp(test_string,pEnchantments[ii].pBonusStat)) { pItems[item_counter]._bonus_type=ii+1; break; @@ -800,7 +804,7 @@ { for(int ii=0; ii<72; ++ii) { - if (stricmp(test_string,pSpecialEnchantments[ii].pBonusStatement)) + if (_stricmp(test_string,pSpecialEnchantments[ii].pBonusStatement)) { pItems[item_counter]._additional_value=ii+1; }