mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Unnuke line endings & more warning fixes
This commit is contained in:
parent
2e48963fc4
commit
a189985964
@ -951,7 +951,7 @@ static cell_t LogStackTrace(IPluginContext *pContext, const cell_t *params)
|
||||
|
||||
g_Logger.LogError("[SM] Stack trace requested: %s", buffer);
|
||||
g_Logger.LogError("[SM] Called from: %s", pPlugin->GetFilename());
|
||||
for (size_t i = 0; i < arr.length(); i)
|
||||
for (size_t i = 0; i < arr.length(); ++i)
|
||||
{
|
||||
g_Logger.LogError("%s", arr[i].chars());
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -80,7 +80,9 @@ private:
|
||||
ke::Vector<CVTableHook *> m_netChannelHooks;
|
||||
INetChannel *m_pActiveNetChannel;
|
||||
bool m_bFSTranHookWarned = false;
|
||||
#if SOURCE_ENGINE == SE_TF2
|
||||
bool m_bReplayEnabled = false;
|
||||
#endif
|
||||
};
|
||||
|
||||
extern CHookManager g_Hooks;
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
ISourcePawnEngine *CDetourManager::spengine = NULL;
|
||||
IGameConfig *CDetourManager::gameconf = NULL;
|
||||
|
||||
#if defined(_WIN64) || defined(__x86_64__)
|
||||
// Push 64-bit value onto the stack using two instructions.
|
||||
//
|
||||
// Pushing 0xF00DF00DF00DF00D:
|
||||
@ -59,6 +60,7 @@ static inline void X64_Jump_Abs(JitWriter *jit, void *dest)
|
||||
X64_Push_Imm64(jit, jit_int64_t(dest));
|
||||
IA32_Return(jit);
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void RelativeJump32(JitWriter *jit, void *target)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user