--- deliantra/server/plugins/common/plugin_common.C 2006/09/16 22:24:12 1.3 +++ deliantra/server/plugins/common/plugin_common.C 2006/12/11 19:46:46 1.5 @@ -63,7 +63,7 @@ static f_plug_api cfapiObject_update = NULL; static f_plug_api cfapiObject_clear = NULL; static f_plug_api cfapiObject_reset = NULL; -static f_plug_api cfapiCheck_inventory = NULL; +/* static f_plug_api cfapiCheck_inventory = NULL; */ static f_plug_api cfapiObject_activate_rune = NULL; static f_plug_api cfapiObject_check_trigger = NULL; static f_plug_api cfapiObject_query_money = NULL; @@ -828,22 +828,3 @@ int val; return (const char*) cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_MESSAGE); } - -#ifdef WIN32 -int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) -{ - /* Get the time, if they want it */ - if (time_Info != NULL) { - time_Info->tv_sec = time(NULL); - time_Info->tv_usec = timeGetTime()*1000; - } - /* Get the timezone, if they want it */ - if (timezone_Info != NULL) { - _tzset(); - timezone_Info->tz_minuteswest = _timezone; - timezone_Info->tz_dsttime = _daylight; - } - /* And return */ - return 0; -} -#endif