Skip to content

Commit

Permalink
Fixed|Wad Map Converter: Export DP_Initialize as extern "C"
Browse files Browse the repository at this point in the history
Otherwise, the plugin loader does not recognize it as a valid
Doomsday plugin.
  • Loading branch information
skyjake committed Jul 24, 2012
1 parent f153ba5 commit c7d6a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/wadmapconverter/src/wadmapconverter.cpp
Expand Up @@ -292,7 +292,7 @@ int ConvertMapHook(int hookType, int parm, void* context)
* This function is called automatically when the plugin is loaded.
* We let the engine know what we'd like to do.
*/
void DP_Initialize(void)
extern "C" void DP_Initialize(void)
{
Plug_AddHook(HOOK_MAP_CONVERT, ConvertMapHook);
}

0 comments on commit c7d6a72

Please sign in to comment.