mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
Build fixes
This commit is contained in:
parent
ef78389803
commit
799f1660a3
@ -482,7 +482,7 @@ void SourceProvider::CacheUserMessages()
|
||||
static jmp_buf usermsg_end;
|
||||
|
||||
/* This only gets called if IServerGameDLL::GetUserMessageInfo() triggers it */
|
||||
void SourceProvider::Detour_Error(const tchar* pMsg, ...)
|
||||
void Detour_Error(const tchar* pMsg, ...)
|
||||
{
|
||||
/* Jump back to setjmp() in CacheUserMessages() */
|
||||
longjmp(usermsg_end, 1);
|
||||
|
@ -33,6 +33,8 @@
|
||||
#include <vector>
|
||||
#include <sh_list.h>
|
||||
|
||||
class IFileSystem;
|
||||
|
||||
class SourceProvider : public BaseProvider
|
||||
{
|
||||
public: // BaseProvider
|
||||
@ -101,7 +103,6 @@ private:
|
||||
};
|
||||
private:
|
||||
void CacheUserMessages();
|
||||
void Detour_Error(const tchar* pMsg, ...);
|
||||
bool KVLoadFromFile(KeyValues* kv, IFileSystem* filesystem, const char* resourceName, const char* pathID = nullptr);
|
||||
inline bool IsUserMessageIterationSupported() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user