mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
color filter cheats
This commit is contained in:
@@ -1074,8 +1074,13 @@ void ApplyClientNetPackVisitor::visitSetAvailableArtifacts(SetAvailableArtifacts
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ApplyClientNetPackVisitor::visitEntitiesChanged(EntitiesChanged & pack)
|
||||
{
|
||||
callAllInterfaces(cl, &CGameInterface::invalidatePaths);
|
||||
}
|
||||
|
||||
void ApplyClientNetPackVisitor::visitPlayerCheated(PlayerCheated & pack)
|
||||
{
|
||||
if(pack.colorScheme != ColorScheme::KEEP && vstd::contains(cl.playerint, pack.player))
|
||||
cl.playerint[pack.player]->setColorScheme(pack.colorScheme);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user