Make objects not run their code if the room they are in isn't loaded. (#502)

This commit is contained in:
arthurtilly
2022-11-03 11:35:47 +13:00
committed by GitHub
parent d7d0364682
commit ab94fd7f63
5 changed files with 21 additions and 7 deletions

View File

@@ -55,6 +55,7 @@ enum ObjFlags {
OBJ_FLAG_OCCLUDE_SILHOUETTE = (1 << 20), // 0x00100000
OBJ_FLAG_OPACITY_FROM_CAMERA_DIST = (1 << 21), // 0x00200000
OBJ_FLAG_EMIT_LIGHT = (1 << 22), // 0x00400000
OBJ_FLAG_PROCESS_OUTSIDE_ROOM = (1 << 23), // 0x00800000
OBJ_FLAG_HITBOX_WAS_SET = (1 << 30), // 0x40000000
};