summaryrefslogtreecommitdiffstats
path: root/src/RendererSectionData.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/RendererSectionData.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RendererSectionData.cpp b/src/RendererSectionData.cpp
index 96d78e0..6554d16 100644
--- a/src/RendererSectionData.cpp
+++ b/src/RendererSectionData.cpp
@@ -213,7 +213,7 @@ RendererSectionData ParseSection(const SectionsData &sections)
}
unsigned char SectionsData::GetLight(const Vector & pos) const {
- const Vector directions[] = {
+ static const Vector directions[] = {
Vector(0,0,0),
Vector(1,0,0),
Vector(-1,0,0),
@@ -252,7 +252,7 @@ unsigned char SectionsData::GetLight(const Vector & pos) const {
}
unsigned char SectionsData::GetSkyLight(const Vector & pos) const {
- const Vector directions[] = {
+ static const Vector directions[] = {
Vector(0,0,0),
Vector(1,0,0),
Vector(-1,0,0),