- client/CSpellWindow.cpp: Line 739 makes impossible to have empty town list in line 747
- server/CGameHandler.cpp: If hero has lost all towns lines 5588 & 5590 should return function before.

I was thinking about the same but  I don't know nothing about structure of the code (yet) and I don't know where I should put declaration.