Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137).
This commit is contained in:
@@ -78,13 +78,6 @@
|
||||
"linux" "@_ZN15CTFPlayerShared10StunPlayerEffiP9CTFPlayer"
|
||||
"mac" "@_ZN15CTFPlayerShared10StunPlayerEffiP9CTFPlayer"
|
||||
}
|
||||
"IsHolidayActive"
|
||||
{
|
||||
"library" "server"
|
||||
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\x78\x30\x00\x74\x04\x32\xC0"
|
||||
"linux" "@_Z18TF_IsHolidayActivei"
|
||||
"mac" "@_Z18TF_IsHolidayActivei"
|
||||
}
|
||||
"MakeBleed"
|
||||
{
|
||||
"library" "server"
|
||||
@@ -106,6 +99,15 @@
|
||||
"linux" "@_ZN17CObjectTeleporter21PlayerCanBeTeleportedEP9CTFPlayer"
|
||||
"mac" "@_ZN17CObjectTeleporter21PlayerCanBeTeleportedEP9CTFPlayer"
|
||||
}
|
||||
|
||||
// Obsolete
|
||||
"IsHolidayActive"
|
||||
{
|
||||
"library" "server"
|
||||
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\x78\x30\x00\x74\x04\x32\xC0"
|
||||
"linux" "@_Z18TF_IsHolidayActivei"
|
||||
"mac" "@_Z18TF_IsHolidayActivei"
|
||||
}
|
||||
}
|
||||
"Offsets"
|
||||
{
|
||||
@@ -127,6 +129,14 @@
|
||||
"linux" "391"
|
||||
"mac" "391"
|
||||
}
|
||||
|
||||
// CTFGameRules::IsHolidayActive
|
||||
"IsHolidayActive"
|
||||
{
|
||||
"windows" "138"
|
||||
"linux" "139"
|
||||
"mac" "139"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user