mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
19 lines
489 B
C++
19 lines
489 B
C++
#include "pch.h"
|
|
#include "hooks.h"
|
|
|
|
namespace Hooks
|
|
{
|
|
MSG_EngineErrorFn originalMSG_EngineError = nullptr;
|
|
}
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Engine Error message box
|
|
//-----------------------------------------------------------------------------
|
|
|
|
int Hooks::MSG_EngineError(char* fmt, va_list args)
|
|
{
|
|
printf("\nENGINE ERROR #####################################\n");
|
|
vprintf(fmt, args);
|
|
|
|
return originalMSG_EngineError(fmt, args);
|
|
} |