1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 11:17:56 +00:00

Eliminate -Wmissing-field-initializers warnings.

This commit is contained in:
Arthur O'Dwyer
2020-02-21 23:26:57 -05:00
parent a0da10b408
commit 41669ab720
6 changed files with 40 additions and 40 deletions

View File

@@ -151,10 +151,8 @@ void recursive_paint(cwpath& pinv, vector<int>& way, int noway) {
else
gid = 3;
infos[c] = cellinfo{c, gid, 0};
infos[c].way = way;
infos[c].pinv = pinv;
infos[c] = cellinfo{c, gid, 0, waNone, itNone, laNone, moNone, way, pinv};
// c->landparam ^= ((isize(way)&1) * 0x3F3F3F);
// c->landparam = hsh; // d * 5 + 256 * (hsh&0xFFFF) + 0x400000;
if(cidd>112899) c->landparam = 0x101010;