Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gamedata/cs2fixes.games.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
// Function with 5 arguments next to sv_walkable_normal references
"TracePlayerBBox"
{
"library" "server"
"windows" "\x48\x8B\xC4\x4C\x89\x40\x18\x55\x53\x57\x41\x55\x41\x56"
"linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xFF\x41\x56\x49\x89\xF6\x41\x55\x49\x89\xCD"
}
"library" "server"
"windows" "\x48\x8B\xC4\x4C\x89\x40\x18\x55\x53\x57"
"linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xD7\x41\x56\x4D\x89\xC6\x41\x55\x49\x89\xCD\x41\x54\x53"
}
// String: "Noise removal", there should be 3 customermachine checks
"HammerNoCustomerMachine"
{
Expand Down
2 changes: 1 addition & 1 deletion sdk
2 changes: 1 addition & 1 deletion src/cs2fixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const char *CS2Fixes::GetLicense()
const char *CS2Fixes::GetVersion()
{
#ifndef CS2FIXES_VERSION
#define CS2FIXES_VERSION "1.7-dev"
#define CS2FIXES_VERSION "1.8-dev"
#endif

return CS2FIXES_VERSION; // defined by the build script
Expand Down
4 changes: 0 additions & 4 deletions src/detours.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ void TryPlayerMovePre(CCSPlayer_MovementServices *ms, Vector *pFirstDest, trace_
// Assume we can move all the way from the current origin to the end point.
VectorMA(start, timeLeft, velocity, end);
// See if we can make it from origin to end point.
if (numPlanes == 1)
{
VectorMA(end, 0.03125f, planes[0], end);
}
// If their velocity Z is 0, then we can avoid an extra trace here during WalkMove.
if (pFirstDest && end == *pFirstDest)
{
Expand Down
3 changes: 3 additions & 0 deletions src/utils/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class Z_CBaseEntity;

Z_CBaseEntity *UTIL_FindPickerEntity(CBasePlayerController *pPlayer)
{
if (!g_pGameRules)
return nullptr;

static int offset = g_GameConfig->GetOffset("CGameRules_FindPickerEntity");

if (offset < 0)
Expand Down
Loading