mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Fix compiler warning in zone/inventory.cpp
This commit is contained in:
parent
663dbf9fc2
commit
69944d907d
@ -200,14 +200,13 @@ bool Client::CheckLoreConflict(const Item_Struct* item) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Client::SummonItem(uint32 item_id, int16 charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5, bool attuned, uint16 to_slot) {
|
bool Client::SummonItem(uint32 item_id, int16 charges, uint32 aug1, uint32 aug2, uint32 aug3, uint32 aug4, uint32 aug5, bool attuned, uint16 to_slot) {
|
||||||
|
|
||||||
/* Set a timestamp in an entity variable for plugin check_handin.pl in return_items
|
/* Set a timestamp in an entity variable for plugin check_handin.pl in return_items
|
||||||
This will stopgap players from items being returned if global_npc.pl has a catch all return_items
|
This will stopgap players from items being returned if global_npc.pl has a catch all return_items
|
||||||
*/
|
*/
|
||||||
struct timeval read_time;
|
struct timeval read_time;
|
||||||
char buffer[50];
|
char buffer[50];
|
||||||
gettimeofday(&read_time, 0);
|
gettimeofday(&read_time, 0);
|
||||||
sprintf(buffer, "%i.%i \n", read_time.tv_sec, read_time.tv_usec);
|
sprintf(buffer, "%li.%li \n", read_time.tv_sec, read_time.tv_usec);
|
||||||
this->SetEntityVariable("Recieved_Item", buffer);
|
this->SetEntityVariable("Recieved_Item", buffer);
|
||||||
|
|
||||||
// TODO: update calling methods and script apis to handle a failure return
|
// TODO: update calling methods and script apis to handle a failure return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user