mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-11 03:18:24 +00:00
Add RmlUi
This commit is contained in:
@@ -240,7 +240,7 @@ void GameRenderer::tick(bool first) // 4J - add bFirst
|
||||
PIXEndNamedEvent();
|
||||
|
||||
darkenWorldAmountO = darkenWorldAmount;
|
||||
int idx = BossMobGuiInfo::getIndexFromDimension((int)mc->level->dimension);
|
||||
int idx = BossMobGuiInfo::getIndexFromDimension((int)(intptr_t)mc->level->dimension);
|
||||
if (BossMobGuiInfo::darkenWorld[idx])
|
||||
{
|
||||
darkenWorldAmount += 1.0f / (static_cast<float>(SharedConstants::TICKS_PER_SECOND) * 1);
|
||||
|
||||
Reference in New Issue
Block a user