Skip to content

Commit

Permalink
No longer update memory access for tp angle byte patching
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0k-z committed May 9, 2023
1 parent a3f358d commit c3045fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/gokz-tpanglefix.sp
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ void PatchAngleFix()
{
if (LoadFromAddress(gA_ViewAnglePatchAddress, NumberType_Int8) == 0)
{
StoreToAddress(gA_ViewAnglePatchAddress, 1, NumberType_Int8);
StoreToAddress(gA_ViewAnglePatchAddress, 1, NumberType_Int8, false);
}
}

void RestoreAngleFix()
{
if (LoadFromAddress(gA_ViewAnglePatchAddress, NumberType_Int8) == 1)
{
StoreToAddress(gA_ViewAnglePatchAddress, 0, NumberType_Int8);
StoreToAddress(gA_ViewAnglePatchAddress, 0, NumberType_Int8, false);
}
}

Expand Down

0 comments on commit c3045fb

Please sign in to comment.