--- deliantra/server/plugins/common/plugin_common.C 2006/12/11 19:46:46 1.5 +++ deliantra/server/plugins/common/plugin_common.C 2006/12/14 22:54:35 1.6 @@ -37,7 +37,6 @@ static f_plug_api cfapiSystem_register_global_event = NULL; static f_plug_api cfapiSystem_unregister_global_event = NULL; -static f_plug_api cfapiSystem_strdup_local = NULL; static f_plug_api cfapiSystem_find_animation = NULL; static f_plug_api cfapiMap_create_path = NULL; @@ -112,7 +111,6 @@ int cf_init_plugin( f_plug_api getHooks ) { int z; - GET_HOOK( cfapiSystem_strdup_local, "cfapi_system_strdup_local", z ); GET_HOOK( cfapiSystem_register_global_event, "cfapi_system_register_global_event", z ); GET_HOOK( cfapiSystem_unregister_global_event, "cfapi_system_unregister_global_event", z ); GET_HOOK( cfapiSystem_find_animation, "cfapi_system_find_animation", z ); @@ -693,10 +691,10 @@ int val; cfapiObject_pickup(&val, op, what); } -char* cf_strdup_local(char* txt) +char* cf_strdup(char* txt) { int val; - return (char*)cfapiSystem_strdup_local(&val, txt); + return (char*)strdup(txt); } int cf_map_get_flags( maptile* map, maptile** nmap, sint16 x, sint16 y, sint16* nx, sint16* ny ) {