summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-02-04 21:05:17 +0100
committerSergeanur <s.anureev@yandex.ua>2020-02-04 21:21:45 +0100
commitf1863676bbd3d99d70ab3160dad325d851550567 (patch)
tree79f5fa945d3ec0eac96426193154474ed79551ff /src
parentMerge pull request #323 from erorcun/erorcun (diff)
downloadre3-f1863676bbd3d99d70ab3160dad325d851550567.tar
re3-f1863676bbd3d99d70ab3160dad325d851550567.tar.gz
re3-f1863676bbd3d99d70ab3160dad325d851550567.tar.bz2
re3-f1863676bbd3d99d70ab3160dad325d851550567.tar.lz
re3-f1863676bbd3d99d70ab3160dad325d851550567.tar.xz
re3-f1863676bbd3d99d70ab3160dad325d851550567.tar.zst
re3-f1863676bbd3d99d70ab3160dad325d851550567.zip
Diffstat (limited to '')
-rw-r--r--src/core/ZoneCull.cpp6
-rw-r--r--src/render/VisibilityPlugins.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp
index 7b22a550..4a2bea4f 100644
--- a/src/core/ZoneCull.cpp
+++ b/src/core/ZoneCull.cpp
@@ -462,7 +462,7 @@ CCullZone::DoStuffEnteringZone_OneBuilding(uint16 i)
}else{
i -= 6000;
for(j = 0; j < 3; j++)
- DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]);
+ DoStuffEnteringZone_OneBuilding(CCullZones::aIndices[i+j]);
}
}
@@ -481,7 +481,7 @@ CCullZone::DoStuffEnteringZone_OneTreadablePlus10m(uint16 i)
}else{
i -= 6000;
for(j = 0; j < 3; j++)
- DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]);
+ DoStuffEnteringZone_OneTreadablePlus10m(CCullZones::aIndices[i+j]);
}
}
@@ -499,7 +499,7 @@ CCullZone::DoStuffEnteringZone_OneTreadable(uint16 i)
}else{
i -= 6000;
for(j = 0; j < 3; j++)
- DoStuffLeavingZone_OneBuilding(CCullZones::aIndices[i+j]);
+ DoStuffEnteringZone_OneTreadable(CCullZones::aIndices[i+j]);
}
}
diff --git a/src/render/VisibilityPlugins.cpp b/src/render/VisibilityPlugins.cpp
index e01bbb92..74cd2590 100644
--- a/src/render/VisibilityPlugins.cpp
+++ b/src/render/VisibilityPlugins.cpp
@@ -44,7 +44,7 @@ CVisibilityPlugins::Initialise(void)
m_alphaList.Init(20);
m_alphaList.head.item.sort = 0.0f;
m_alphaList.tail.item.sort = 100000000.0f;
- m_alphaEntityList.Init(350); // TODO: set back to 150 when things are fixed
+ m_alphaEntityList.Init(150);
m_alphaEntityList.head.item.sort = 0.0f;
m_alphaEntityList.tail.item.sort = 100000000.0f;
}