[General] Housekeeping stuff and a NPE fix
This commit is contained in:
@ -508,7 +508,8 @@ namespace Game
|
||||
}
|
||||
}
|
||||
|
||||
void MessageBox(std::string message, std::string title)
|
||||
// this cant be MessageBox because windows.h has a define that converts it to MessageBoxW. which is just stupid
|
||||
void ShowMessageBox(std::string message, std::string title)
|
||||
{
|
||||
if (!Game::CL_IsCgameInitialized())
|
||||
{
|
||||
|
@ -719,7 +719,7 @@ namespace Game
|
||||
|
||||
void FS_AddLocalizedGameDirectory(const char *path, const char *dir);
|
||||
|
||||
void MessageBox(std::string message, std::string title);
|
||||
void ShowMessageBox(std::string message, std::string title);
|
||||
|
||||
unsigned int R_HashString(const char* string);
|
||||
void R_LoadSunThroughDvars(const char* mapname, sunflare_t* sun);
|
||||
|
Reference in New Issue
Block a user