Unnuke line endings & more warning fixes

This commit is contained in:
Michael Flaherty 2018-07-19 04:06:56 -07:00
parent 2e48963fc4
commit a189985964
4 changed files with 1819 additions and 1815 deletions

View File

@ -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

View File

@ -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;

View File

@ -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)
{