Skip to content

Commit

Permalink
FIX: forgot virtual GameState dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Feb 6, 2024
1 parent 5aa8aef commit 620b839
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Engine/ac/gamestate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 620b839

Please sign in to comment.