diff --git a/Descent3/OsirisLoadandBind.cpp b/Descent3/OsirisLoadandBind.cpp index 0973c17d7..4d04a3e75 100644 --- a/Descent3/OsirisLoadandBind.cpp +++ b/Descent3/OsirisLoadandBind.cpp @@ -4038,5 +4038,5 @@ void Osiris_CreateModuleInitStruct(tOSIRISModuleInit *mi) { mi->fp[122] = (int *)osipf_PathValue; mi->fp[123] = (int *)CreateMessageMap; mi->fp[124] = (int *)DestroyMessageMap; - mi->fp[125] = (int *)GetMessage; + mi->fp[125] = (int *)GetMessageMap; } diff --git a/Descent3/localization.cpp b/Descent3/localization.cpp index e701abbd5..4a7ab8d03 100644 --- a/Descent3/localization.cpp +++ b/Descent3/localization.cpp @@ -619,7 +619,7 @@ void DestroyMessageMap(std::map &map) { map.clear(); } -const char *GetMessage(const std::string &name, std::map &map) { +const char *GetMessageMap(const std::string &name, std::map &map) { // Make sure given name is valid if (name.empty()) { return INV_MSGNAME_STRING; diff --git a/Descent3/localization.h b/Descent3/localization.h index 0199a0e34..b4054fbd1 100644 --- a/Descent3/localization.h +++ b/Descent3/localization.h @@ -97,6 +97,6 @@ void DestroyMessageMap(std::map &map); * @param map * @return return message by name, NO_MESSAGE_STRING if there no such name */ -const char *GetMessage(const std::string &name, std::map &map); +const char *GetMessageMap(const std::string &name, std::map &map); #endif