mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 17:12:27 +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:
parent
cd415e6008
commit
c88de2b609
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user