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

* setting army formation

* minor changes
This commit is contained in:
Michał W. Urbańczyk
2008-09-18 13:54:54 +00:00
parent 72331db843
commit 70673674dc
12 changed files with 72 additions and 26 deletions

View File

@@ -849,6 +849,14 @@ upgend:
sr.val = gs->players[player].resources[id2] + (int)uzysk;
sendAndApply(&sr);
break;
}
case 512:
{
si32 hid;
ui8 formation;
c >> hid >> formation;
gs->getHero(hid)->army.formation = !formation;
break;
}
case 2001: