diff --git a/docs/changelog.txt b/docs/changelog.txt index bc72a8e33a..04b6fd6fd1 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -61,6 +61,7 @@ Template for new versions: ## Fixes ## Misc Improvements +- Core: added ``gps`` (``graphicst``) to the set of globals whose sizes must agree for DFHack to pass initialization checks ## Documentation diff --git a/library/Core.cpp b/library/Core.cpp index a6fc71fb2b..b927d49cc4 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -1682,6 +1682,7 @@ bool Core::InitMainThread() { { "world", sizeof(df::world) }, { "game", sizeof(df::gamest) }, { "plotinfo", sizeof(df::plotinfost) }, + { "gps", sizeof(df::graphic) }, }; for (auto& gte : *df::global::global_table)