commit 6ce4002c37ed868e4b6026d4059e8815a12fbca9 parent 96937285d59fc8f842a016b7ea381cc3a20d6434 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Aug 12 19:19:51 +0200 Null out game->init in unload_game Diffstat:
main.cc | | | 1 | + |
diff --git a/main.cc b/main.cc @@ -53,6 +53,7 @@ void unload_game( Game * game ) { dlclose( game->lib ); } + game->init = nullptr; game->frame = nullptr; }