Тьомчик
-
Автор темы
- #1
C++:
if (g_Options.chams_backtrack && Backtrack::Get().data.count(ent->EntIndex()) > 0) {
auto& data = Backtrack::Get().data.at(ent->EntIndex());
if (data.size() > 0) {
if (g_Options.chams_backtrack == 2) {
for (auto& record : data) {
OverrideMaterial(false, g_Options.chams_type, g_Options.chams_player_rainbow ? clr : clr_front);
}
}
else if (g_Options.chams_backtrack == 1) {
auto& back = data.back();
OverrideMaterial(false, g_Options.chams_type, g_Options.chams_player_rainbow ? clr : clr_front);
}
}
}