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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user