mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-19 17:32:50 +00:00
rogueviz::dhrg:: fixed some confusion
This commit is contained in:
parent
2354be07e5
commit
cfad696d4a
@ -268,7 +268,7 @@ int dhrgArgs() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void gamedata(hr::gamedata* gd) {
|
void store_gamedata(struct hr::gamedata* gd) {
|
||||||
if(true) {
|
if(true) {
|
||||||
for(auto& t: tally) gd->store(t);
|
for(auto& t: tally) gd->store(t);
|
||||||
for(auto& t: edgetally) gd->store(t);
|
for(auto& t: edgetally) gd->store(t);
|
||||||
@ -283,7 +283,7 @@ void gamedata(hr::gamedata* gd) {
|
|||||||
|
|
||||||
auto hook =
|
auto hook =
|
||||||
addHook(hooks_args, 50, dhrgArgs)
|
addHook(hooks_args, 50, dhrgArgs)
|
||||||
+ addHook(hooks_gamedata, 230, gamedata)
|
+ addHook(hooks_gamedata, 230, store_gamedata)
|
||||||
+ addHook(hooks_clearmemory, 200, clear);
|
+ addHook(hooks_clearmemory, 200, clear);
|
||||||
|
|
||||||
#if CAP_SDL
|
#if CAP_SDL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user