mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 15:37:16 +00:00
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:
@@ -2590,7 +2590,13 @@ void Client::LogLoot(Client* player, Corpse* corpse, const Item_Struct* item){
|
|||||||
if (item!=0){
|
if (item!=0){
|
||||||
memset(itemid,0,sizeof(itemid));
|
memset(itemid,0,sizeof(itemid));
|
||||||
memset(itemname,0,sizeof(itemid));
|
memset(itemname,0,sizeof(itemid));
|
||||||
|
|
||||||
|
#ifdef _WINDOWS
|
||||||
|
_itoa(item->ID,itemid,10);
|
||||||
|
#else
|
||||||
itoa(item->ID,itemid,10);
|
itoa(item->ID,itemid,10);
|
||||||
|
#endif
|
||||||
|
|
||||||
sprintf(itemname,"%s",item->Name);
|
sprintf(itemname,"%s",item->Name);
|
||||||
logtext=itemname;
|
logtext=itemname;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user