1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 02:09:59 +00:00

fixed the initialization of hpcshape

This commit is contained in:
Zeno Rogue 2023-02-03 23:45:10 +01:00
parent a536a3bc61
commit f09b94bfcd

View File

@ -35,6 +35,7 @@ struct hpcshape {
int texture_offset; int texture_offset;
int shs, she; int shs, she;
void clear() { s = e = shs = she = texture_offset = 0; prio = PPR::ZERO; tinf = NULL; flags = 0; } void clear() { s = e = shs = she = texture_offset = 0; prio = PPR::ZERO; tinf = NULL; flags = 0; }
hpcshape() { clear(); }
}; };
#define SIDE_SLEV 0 #define SIDE_SLEV 0