Skip to content

Commit ab5617f

Browse files
author
L'In20Cible
committed
Revert "Removed networkvar.h patches."
This reverts commit 873b01b. (Cause further issues for CS:GO and Blade.)
1 parent 873b01b commit ab5617f

File tree

14 files changed

+6293
-1
lines changed

14 files changed

+6293
-1
lines changed

src/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,6 @@ EndIf()
617617
# Definitions
618618
# ------------------------------------------------------------------
619619
Add_Definitions(
620-
-DGAME_DLL=1
621620
-DSOURCE_ENGINE=${SOURCE_ENGINE}
622621
-DSOURCE_ENGINE_BRANCH=${BRANCH}
623622
-DBOOST_PYTHON_MAX_ARITY=32

src/core/patches/blade/patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
* all respects for all other code used. Additionally, the Source.Python
2424
* Development Team grants this exception to all derivative works.
2525
*/
26+
27+
#include "utilities/baseentity.h"
28+
#ifndef PATCH_NETWORK_HANDLE_BASE_DEFINITION
29+
#error "We need the CNetworkHandle definition..."
30+
#endif

src/core/patches/bms/patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
* Development Team grants this exception to all derivative works.
2525
*/
2626

27+
#include "utilities/baseentity.h"
28+
#ifndef PATCH_NETWORK_HANDLE_BASE_DEFINITION
29+
#error "We need the CNetworkHandle definition..."
30+
#endif
31+
2732
#include "public/tier0/threadtools.h"
2833
#ifndef PATCH_UPDATE_AUTO_LOCK
2934
// TODO: Create a real fix for this!

src/core/patches/csgo/patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
* all respects for all other code used. Additionally, the Source.Python
2424
* Development Team grants this exception to all derivative works.
2525
*/
26+
27+
#include "utilities/baseentity.h"
28+
#ifndef PATCH_NETWORK_HANDLE_BASE_DEFINITION
29+
#error "We need the CNetworkHandle definition..."
30+
#endif

src/core/patches/l4d2/patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
* Development Team grants this exception to all derivative works.
2525
*/
2626

27+
#include "utilities/baseentity.h"
28+
#ifndef PATCH_NETWORK_HANDLE_BASE_DEFINITION
29+
#error "We need the CNetworkHandle definition..."
30+
#endif
31+
2732
#include "game/shared/predictioncopy.h"
2833
#ifndef PATCH_PC_REDEFINITIONS
2934
#error "PC constants are redefined into datamap.h..."

src/core/patches/orangebox/patches.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
* all respects for all other code used. Additionally, the Source.Python
2424
* Development Team grants this exception to all derivative works.
2525
*/
26+
27+
#include "utilities/baseentity.h"
28+
#ifndef PATCH_NETWORK_HANDLE_BASE_DEFINITION
29+
#error "We need the CNetworkHandle definition..."
30+
#endif

0 commit comments

Comments
 (0)