Skip to content

Commit e79d9ee

Browse files
Merge pull request #8 from rcnoob/main
fix for 11-6-24 update
2 parents 75ec334 + a30a155 commit e79d9ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- '*'

src/detours.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void TryPlayerMovePre(CCSPlayer_MovementServices *ms, Vector *pFirstDest, trace_
347347
}
348348
else
349349
{ // go along the crease
350-
if (numPlanes != 2)
350+
if (numPlanes != 2 || (pm.m_vHitNormal.z >= 0.7 && velocity.Length2D() < 1.0f))
351351
{
352352
VectorCopy(vec3_origin, velocity);
353353
break;

0 commit comments

Comments
 (0)