Skip to content

Commit

Permalink
Test Build
Browse files Browse the repository at this point in the history
Test Build
  • Loading branch information
SmileYzn committed Sep 12, 2024
1 parent eae1274 commit bc6ce0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions AccuracyFix/AccuracyFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ void CAccuracyFix::ServerActivate()
}
}

//auto Path = gAccuracyUtil.GetPath();

//if (Path)
//{
// if (Path[0u] != '\0')
// {
// gAccuracyUtil.ServerCommand("exec %s/accuracyfix.cfg", Path);
// }
//}
auto Path = gAccuracyUtil.GetPath();

if (Path)
{
if (Path[0u] != '\0')
{
gAccuracyUtil.ServerCommand("exec %s/accuracyfix.cfg", Path);
}
}
}

void CAccuracyFix::TraceLine(const float* vStart, const float* vEnd, int fNoMonsters, edict_t* pentToSkip, TraceResult* ptr)
Expand Down
2 changes: 1 addition & 1 deletion AccuracyFix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OBJECTS = *.cpp
LINKER = -static-libgcc -static-libstdc++

# C flags
CFLAGS = -std=gnu++11 -shared -m32 -mtune=generic -msse3 -msse4.1 -pipe -g0 -O3 -s -flto -funroll-loops -fno-stack-protector -g -DNDEBUG -Dlinux -D__linux__ -DGLIBCXX_USE_CXX11_ABI=1 -U_FORTIFY_SOURCE
CFLAGS = -std=gnu++11 -shared -m32 -msse3 -msse4.1 -pipe -g0 -O3 -s -flto -funroll-loops -fno-stack-protector -g -DNDEBUG -Dlinux -D__linux__ -DGLIBCXX_USE_CXX11_ABI=1 -U_FORTIFY_SOURCE

# Include directory
INCLUDE = -I. -I$(CSSDK)/common -I$(CSSDK)/dlls -I$(CSSDK)/engine -I$(CSSDK)/game_shared -I$(CSSDK)/pm_shared -I$(CSSDK)/public -I$(METAMOD)
Expand Down
2 changes: 1 addition & 1 deletion AccuracyFix/MetaMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugin_info_t Plugin_info =
"SmileY",
"https://pugbr.net",
"AF",
PT_STARTUP,
PT_ANYTIME,
PT_ANYTIME,
};

Expand Down

0 comments on commit bc6ce0d

Please sign in to comment.