mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
Add scrollable options menu (#99)
* * Add new scrollable options list. * * Add OptionList.cpp to the CMakeLists.txt * * Add the new stuff by @jonkadelic to the new options menu.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/Utils.hpp"
|
||||
#include "thirdparty/raknet/RakNetTypes.h"
|
||||
#include "world/item/Inventory.hpp"
|
||||
#include "world/entity/Mob.hpp"
|
||||
|
||||
@@ -467,7 +467,7 @@ void Level::updateLight(const LightLayer& ll, int a, int b, int c, int d, int e,
|
||||
{
|
||||
static int nUpdateLevels;
|
||||
|
||||
if ((m_pDimension->field_E && &ll == &LightLayer::Sky) || !m_bUpdateLights)
|
||||
if ((m_pDimension->field_E && &ll == &LightLayer::Sky) || !m_bUpdateLights)
|
||||
return;
|
||||
|
||||
nUpdateLevels++;
|
||||
|
||||
Reference in New Issue
Block a user