Skip to content

Commit 1299229

Browse files
committed
support negative values in config
1 parent b50f78f commit 1299229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MGS3CrouchWalk/dllmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int* __fastcall CalculateCamoIndexHook(int* a1, int a2)
118118
if (CrouchMoving)
119119
{
120120
*camoIndex = *camoIndex < 0 ? *camoIndex / CamoIndexModifier : *camoIndex * CamoIndexModifier;
121-
*camoIndex -= CamoIndexValue;
121+
*camoIndex += CamoIndexValue;
122122

123123
if (*camoIndex > 950) *camoIndex = 950;
124124
if (*camoIndex < -1000) *camoIndex = -1000;

0 commit comments

Comments
 (0)