From 620b83947bb70b3a49a1f5bbb893e3ea48b2c4f2 Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Tue, 6 Feb 2024 21:28:33 +0300 Subject: [PATCH] FIX: forgot virtual GameState dtor --- Engine/ac/gamestate.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Engine/ac/gamestate.h b/Engine/ac/gamestate.h index 1f2f5046c74..dd6641c3772 100644 --- a/Engine/ac/gamestate.h +++ b/Engine/ac/gamestate.h @@ -70,6 +70,8 @@ enum GameStateSvgVersion class GameState { public: + virtual ~GameState() = default; + // Begin the state, initialize and prepare any resources virtual void Begin() = 0; // End the state, release all resources