mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
- re-enabled console on Linux to allow disabling AI
This commit is contained in:
@ -801,6 +801,8 @@ void CCastleInterface::townChange()
|
||||
{
|
||||
const CGTownInstance * nt = LOCPLINT->towns[townlist->selected];
|
||||
int tpos = townlist->selected - townlist->from;
|
||||
if ( nt == town )
|
||||
return;
|
||||
GH.popIntTotally(this);
|
||||
GH.pushInt(new CCastleInterface(nt, tpos));
|
||||
}
|
||||
|
Reference in New Issue
Block a user