console->pC_Init to general->p_Init, ditto for shutdown. I'm assuming

this is what taniwha meant.  Shoulda test-built ;)
This commit is contained in:
Adam Olsen 2001-07-17 00:21:56 +00:00
parent 8c3f799282
commit e6f846756e
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ Con_Init (const char *plugin_name)
{ {
con_module = PI_LoadPlugin ("console", plugin_name); con_module = PI_LoadPlugin ("console", plugin_name);
if (con_module) { if (con_module) {
con_module->functions->console->pC_Init (); con_module->functions->general->p_Init ();
} }
} }
@ -58,7 +58,7 @@ void
Con_Shutdown (void) Con_Shutdown (void)
{ {
if (con_module) { if (con_module) {
con_module->functions->console->pC_Shutdown (); con_module->functions->general->p_Shutdown ();
PI_UnloadPlugin (con_module); PI_UnloadPlugin (con_module);
} }
} }