summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TObject.cpp2
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();
}