diff --git a/source/games/blood/src/db.h b/source/games/blood/src/db.h index 5859a810d..5525720a9 100644 --- a/source/games/blood/src/db.h +++ b/source/games/blood/src/db.h @@ -96,8 +96,6 @@ struct XSPRITE { unsigned int medium : 2; // medium unsigned int respawn : 2; // Respawn option unsigned int unused2 : 1; // (new) patrol state - unsigned int unused3 : 2; // "unused" - unsigned int unused4 : 6; // "unused" }; }; int32_t targetX; // target x @@ -134,6 +132,8 @@ struct XSPRITE { uint8_t lockMsg; // Lock msg int8_t dodgeDir; // Dude dodge direction uint8_t unused1; // modern flags + uint8_t unused3; // something about sight checks + uint8_t unused4; // patrol turn delay }; diff --git a/source/games/blood/src/loadsave.cpp b/source/games/blood/src/loadsave.cpp index dad860d76..08ee82125 100644 --- a/source/games/blood/src/loadsave.cpp +++ b/source/games/blood/src/loadsave.cpp @@ -568,6 +568,8 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, XSPRITE& w, XSPRIT ("lockmsg", w.lockMsg, def->lockMsg) ("dodgedir", w.dodgeDir, def->dodgeDir) ("modernflags", w.unused1, def->unused1) + ("sightstuff", w.unused3, def->unused3) + ("patrolturndelay", w.unused4, def->unused4) .EndObject(); } return arc;