Intro stuff.
This commit is contained in:
parent
0dbd45c844
commit
5f0cfd7a19
@ -218,7 +218,9 @@ namespace Components
|
||||
|
||||
// Fire protocol handlers
|
||||
// Make sure this happens after the pipe-initialization!
|
||||
if (!Singleton::IsFirstInstance() && ConnectProtocol::Used())
|
||||
if (ConnectProtocol::Used())
|
||||
{
|
||||
if (!Singleton::IsFirstInstance())
|
||||
{
|
||||
IPCPipe::Write("connect", ConnectProtocol::ConnectContainer.ConnectString);
|
||||
ExitProcess(0);
|
||||
@ -230,3 +232,4 @@ namespace Components
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -139,6 +139,11 @@ namespace Components
|
||||
Utils::Hook::Nop(0x4AA89F, 2);
|
||||
Utils::Hook::Nop(0x4AA8A1, 6);
|
||||
|
||||
// intro stuff
|
||||
Utils::Hook::Nop(0x60BEE9, 5); // Don't show legals
|
||||
Utils::Hook::Set<char*>(0x60BED2, "unskippablecinematic IW_logo\n");
|
||||
Utils::Hook::Nop(0x60BEF6, 5); // Don't reset intro dvar
|
||||
|
||||
// Rename stat file - TODO: beautify
|
||||
Utils::Hook::SetString(0x71C048, "iw4x.stat");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user