diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:29:25 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-08 13:29:25 -0400 |
commit | e5a312950f959a0c9743e159a4dadc2cd2c2aee3 (patch) | |
tree | 26d8c9126d02dc463c3de8fed6c6475a8bfcaad0 | |
parent | 249ceb596685805749f9a08f535d2028605b43ce (diff) |
TObject: Rename `BIT_8` -> `DISALLOW_RENDER_SHADOWS`
-rw-r--r-- | include/pso/TObject.h | 2 | ||||
-rw-r--r-- | src/pso/TObject.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h index 96fa1f0..9e3ad97 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -23,7 +23,7 @@ enum object_flags { DISALLOW_UPDATE = 0x0F, DISALLOW_RENDER = 0x10, DISALLOW_DESTRUCTION = 0x20, - BIT_8 = 0x100, + DISALLOW_RENDER_SHADOWS = 0x100, BIT_9 = 0x200, BIT_10 = 0x400, BIT_11 = 0x800, diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp index e76b0e3..8250018 100644 --- a/src/pso/TObject.cpp +++ b/src/pso/TObject.cpp @@ -100,7 +100,7 @@ void TObject::render_nodes2() { void TObject::render_shadows_for_each_node() { FOREACH_NODE(TObject, this->down, child) { - if (!child->get_flags(BIT_8)) { + if (!child->get_flags(DISALLOW_RENDER_SHADOWS)) { child->render_shadows(); child->render_shadows_for_each_node(); } |