From bea600bd4eca500bb55898e3c284853e5512e9f4 Mon Sep 17 00:00:00 2001 From: jeefo Date: Fri, 12 May 2023 20:06:43 +0300 Subject: [PATCH] fix: build with msvc refactor: remove remaining commented functions --- ext/crlib | 2 +- inc/engine.h | 3 --- inc/yapb.h | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ext/crlib b/ext/crlib index aee9657..9c2d3a6 160000 --- a/ext/crlib +++ b/ext/crlib @@ -1 +1 @@ -Subproject commit aee96574220a0e8e6fe5e84431cc184be4e05130 +Subproject commit 9c2d3a60e330e2db3516a657289cfdae51c3053a diff --git a/inc/engine.h b/inc/engine.h index cefc2f5..a6be92c 100644 --- a/inc/engine.h +++ b/inc/engine.h @@ -158,9 +158,6 @@ public: // test model void testModel (const Vector &start, const Vector &end, int hullNumber, edict_t *entToHit, TraceResult *ptr); - // trace line with channel, but allows us to store last traceline bot has fired, saving us some cpu cycles - //bool testLineChannel (TraceChannel channel, const Vector &start, const Vector &end, int ignoreFlags, edict_t *ignoreEntity, TraceResult &result); - // test line void testHull (const Vector &start, const Vector &end, int ignoreFlags, int hullNumber, edict_t *ignoreEntity, TraceResult *ptr); diff --git a/inc/yapb.h b/inc/yapb.h index 1b1e0c5..ec8e13d 100644 --- a/inc/yapb.h +++ b/inc/yapb.h @@ -1185,7 +1185,6 @@ public: bool isShieldDrawn (); bool findNextBestNode (); bool seesEntity (const Vector &dest, bool fromBody = false); - //bool canSkipNextTrace (TraceChannel channel); int getAmmo (); int getAmmo (int id);