From 19cc9292ab5889fa09962820f3179e8078bec956 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Thu, 26 Nov 2015 15:14:07 +0100 Subject: core_reloadmodule Allow modules to handle reload failures of other mods --- include/modules/reload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules/reload.h b/include/modules/reload.h index 6ee30c45e..dcdbc95e9 100644 --- a/include/modules/reload.h +++ b/include/modules/reload.h @@ -71,7 +71,7 @@ namespace ReloadModule virtual void OnReloadModuleSave(Module* mod, CustomData& cd) = 0; /** Restore data after a reload. Only called if data was added in OnReloadModuleSave(). - * @param mod Reloaded module + * @param mod Reloaded module, if NULL the reload failed and the module no longer exists * @param data Pointer that was passed to CustomData::add() in OnReloadModuleSave() at the time when the module's state * was saved */ -- cgit v1.2.3