itoa -> _itoa

had to use this silly version of the itoa fix since we have another itoa
define in another header file and this confuses things. Will fix this
later when I do the string conversion stuff.
This commit is contained in:
Arthur Ice 2014-04-18 22:18:13 -07:00
parent cd415e6008
commit c88de2b609

View File

@ -2590,7 +2590,13 @@ void Client::LogLoot(Client* player, Corpse* corpse, const Item_Struct* item){
if (item!=0){
memset(itemid,0,sizeof(itemid));
memset(itemname,0,sizeof(itemid));
#ifdef _WINDOWS
_itoa(item->ID,itemid,10);
#else
itoa(item->ID,itemid,10);
#endif
sprintf(itemname,"%s",item->Name);
logtext=itemname;