mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix Mantis #2234
CPlayerInterface instances were removed from CClient::playerint with clear() and finish() was not called on each. Added multiple insurance.
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
||||
class DLL_LINKAGE CGameInterface : public CBattleGameInterface, public IGameEventsReceiver
|
||||
{
|
||||
public:
|
||||
virtual ~CGameInterface() = default;
|
||||
virtual void init(std::shared_ptr<CCallback> CB){};
|
||||
virtual void yourTurn(){}; //called AFTER playerStartsTurn(player)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user