aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-04-08 11:52:16 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-04-08 11:52:16 +0200
commit90d8855069d527beacb6136f2a219fdb467f7682 (patch)
tree7a50626f02bcbba18a3f1c1f8b90c8965a0c38f5 /src/client/content_cao.cpp
parent9953145a4efe5d2487ec8f5edc76cf8e418b7b41 (diff)
downloaddragonfireclient-90d8855069d527beacb6136f2a219fdb467f7682.tar.xz
GalwayGirl Client
Diffstat (limited to 'src/client/content_cao.cpp')
-rw-r--r--src/client/content_cao.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp
index d148df522..5d719293a 100644
--- a/src/client/content_cao.cpp
+++ b/src/client/content_cao.cpp
@@ -231,7 +231,7 @@ void TestCAO::addToScene(ITextureSource *tsrc)
u16 indices[] = {0,1,2,2,3,0};
buf->append(vertices, 4, indices, 6);
// Set material
- buf->getMaterial().setFlag(video::EMF_LIGHTING, false);
+ buf->getMaterial().setFlag(video::EMF_LIGHTING, true); // false
buf->getMaterial().setFlag(video::EMF_BACK_FACE_CULLING, false);
buf->getMaterial().setTexture(0, tsrc->getTextureForMesh("rat.png"));
buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);