2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:44:56 +00:00

Windows Fixes

This commit is contained in:
Phillip Stephens
2017-01-29 22:08:44 -08:00
parent e276bd3be9
commit 1960103f6c
5 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ struct DeafBabe : BigDNA
DECL_DNA
Value<atUint32> material;
bool unknown() const { return material & 1; }
void setUnknown(bool v) { material &= ~1; material |= v; }
void setUnknown(bool v) { material &= ~1; material |= int(v); }
bool surfaceStone() const { return (material >> 1) & 1; }
void setSurfaceStone(bool v) { material &= ~(1ull << 1); material |= (v << 1); }
bool surfaceMetal() const { return (material >> 2) & 1; }