Skip to content

Commit 96f38f5

Browse files
authored
Merge pull request #5606 from ab9rf/develop
add `gps` to checked globals
2 parents 7123b8c + e0951fd commit 96f38f5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Template for new versions:
6161
## Fixes
6262

6363
## Misc Improvements
64+
- Core: added ``gps`` (``graphicst``) to the set of globals whose sizes must agree for DFHack to pass initialization checks
6465

6566
## Documentation
6667

library/Core.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,7 @@ bool Core::InitMainThread() {
16821682
{ "world", sizeof(df::world) },
16831683
{ "game", sizeof(df::gamest) },
16841684
{ "plotinfo", sizeof(df::plotinfost) },
1685+
{ "gps", sizeof(df::graphic) },
16851686
};
16861687

16871688
for (auto& gte : *df::global::global_table)

0 commit comments

Comments
 (0)