File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ struct GameObject {
242242 struct {
243243 MiscFlags sceneryFlags; // unused for scenery? (aka updated_flags)
244244 MiscFlags doorFlags; // used for doors states open/locked/jammed (aka cur_open_flags)
245- long unused[9 ]; // offset 0x40 (not saved)
245+ long unused[9 ]; // offset 0x40 (not saved)
246246 } scenery;
247247 };
248248
Original file line number Diff line number Diff line change @@ -520,7 +520,8 @@ static void __stdcall combat_begin_anim_stop_hook() {
520520 const fo::AnimationSet& set = animSet[i];
521521 if (set.currentAnim >= 1 &&
522522 (set.animations [set.currentAnim - 1 ].animType == fo::ANIM_TYPE_ANIMATE_FOREVER ||
523- ((set.animations [set.currentAnim - 1 ].source ->artFid & 0xFF0000 ) >> 16 >= fo::ANIM_fall_back &&
523+ (set.animations [set.currentAnim - 1 ].source != nullptr &&
524+ (set.animations [set.currentAnim - 1 ].source ->artFid & 0xFF0000 ) >> 16 >= fo::ANIM_fall_back &&
524525 (set.animations [set.currentAnim - 1 ].source ->artFid & 0xFF0000 ) >> 16 <= fo::ANIM_fall_front_blood)))
525526 {
526527 continue ;
You can’t perform that action at this time.
0 commit comments