1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* added Necropolis

* townlist in town screen and switching towns
* minor changes
This commit is contained in:
Michał W. Urbańczyk
2008-01-31 21:35:30 +00:00
parent 31a5ea2ae5
commit c461365275
16 changed files with 706 additions and 513 deletions

View File

@@ -421,7 +421,7 @@ int CCallback::swapCreatures(const CGObjectInstance *s1, const CGObjectInstance
S2->slots.erase(p2);
if(s1->tempOwner<PLAYER_LIMIT)
CGI->playerint[s1->tempOwner]->garrisonChanged(s1);
if(s2->tempOwner<PLAYER_LIMIT)
if((s2->tempOwner<PLAYER_LIMIT) && (s2 != s1))
CGI->playerint[s2->tempOwner]->garrisonChanged(s2);
return 0;
}