1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

2D3D:: Archimedean no longer crashes after changing

This commit is contained in:
Zeno Rogue
2019-05-08 21:09:22 +02:00
parent 2d79243ca2
commit 6a7c1438eb
6 changed files with 31 additions and 3 deletions

View File

@@ -2579,6 +2579,7 @@ template<class T, class U> int addHook(hookset<T>*& m, int prio, const U& hook)
}
extern purehookset hooks_frame, hooks_stats, clearmemory, hooks_config, hooks_tests, hooks_removecells, hooks_initgame, hooks_calcparam, hooks_mainmenu, hooks_startmenu, hooks_markers;
extern purehookset hooks_swapdim;
template<class T, class... U> void callhooks(hookset<T> *h, U... args) {
if(h) for(auto& p: *h) p.second(args...);