1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

dual:: added some missing gd->store's

This commit is contained in:
Zeno Rogue
2019-05-30 16:12:38 +02:00
parent 31bb896089
commit a49de4530f
7 changed files with 31 additions and 6 deletions

View File

@@ -3777,7 +3777,7 @@ void clearMemory() {
void gamedata(hr::gamedata* gd) {
if(shmup::on) {
for(int i=0; i<MAXPLAYER; i++) gd->store(pc[i]);
gd->store(pc[0]); // assuming 1 player!
gd->store(nextmove);
gd->store(curtime);
gd->store(nextdragon);
@@ -3789,6 +3789,9 @@ void gamedata(hr::gamedata* gd) {
gd->store(lmousetarget);
gd->store(nonvirtual);
gd->store(additional);
if(WDIM == 3) gd->store(swordmatrix[0]); // assuming 1 player!
gd->store(traplist);
gd->store(firetraplist);
}
}