mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
code review
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user