From 034a024348628081bb9b01ab616d3bbbc1636c62 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Fri, 17 Jun 2022 10:48:32 +0500 Subject: [PATCH] Fix build with barnacle fix. --- dlls/barnacle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/barnacle.cpp b/dlls/barnacle.cpp index 507a3623..aaafddce 100644 --- a/dlls/barnacle.cpp +++ b/dlls/barnacle.cpp @@ -168,7 +168,7 @@ void CBarnacle::BarnacleThink( void ) { // recalc collision box here to avoid barnacle disappears bug m_flCachedLength = m_flAltitude + m_flTongueAdj; - UTIL_SetOrigin( pev, pev->origin ); + UTIL_SetOrigin( this, pev->origin ); } #endif SetNextThink( 0.1f );