1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

code review

This commit is contained in:
Laserlicht
2025-10-28 13:30:51 +01:00
parent 6c1748e0d6
commit a4d840f60f

View File

@@ -365,7 +365,6 @@ void ApplyGhNetPackVisitor::visitSetFormation(SetFormation & pack)
void ApplyGhNetPackVisitor::visitSetTownName(SetTownName & pack)
{
gh.throwIfWrongOwner(connection, &pack, pack.tid);
gh.throwIfPlayerNotActive(connection, &pack);
result = gh.setTownName(pack.tid, pack.name);
}