Intro stuff.
This commit is contained in:
parent
0dbd45c844
commit
5f0cfd7a19
@ -218,7 +218,9 @@ namespace Components
|
|||||||
|
|
||||||
// Fire protocol handlers
|
// Fire protocol handlers
|
||||||
// Make sure this happens after the pipe-initialization!
|
// 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);
|
IPCPipe::Write("connect", ConnectProtocol::ConnectContainer.ConnectString);
|
||||||
ExitProcess(0);
|
ExitProcess(0);
|
||||||
@ -229,4 +231,5 @@ namespace Components
|
|||||||
Utils::Hook::Set<BYTE>(0x60BECF, 0xEB);
|
Utils::Hook::Set<BYTE>(0x60BECF, 0xEB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,6 +139,11 @@ namespace Components
|
|||||||
Utils::Hook::Nop(0x4AA89F, 2);
|
Utils::Hook::Nop(0x4AA89F, 2);
|
||||||
Utils::Hook::Nop(0x4AA8A1, 6);
|
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
|
// Rename stat file - TODO: beautify
|
||||||
Utils::Hook::SetString(0x71C048, "iw4x.stat");
|
Utils::Hook::SetString(0x71C048, "iw4x.stat");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user