aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/miscserverfixes.cpp
blob: 2007a30ce45b33affe752d6162633a0ad85e9819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "pch.h"
#include "miscserverfixes.h"
#include "hookutils.h"

void InitialiseMiscServerFixes(HMODULE baseAddress)
{
	// ret at the start of the concommand GenerateObjFile as it can crash servers
	{
		void* ptr = (char*)baseAddress + 0x38D920;
		TempReadWrite rw(ptr);
		*((char*)ptr) = (char)0xC3;
	}
}