mirror of
https://github.com/zeldaret/ss
synced 2026-08-18 13:42:45 -04:00
Work around LightTextureMgr regression
This commit is contained in:
@@ -161,7 +161,7 @@ bool LightTextureManager::setBinaryToTexture(const void *data) {
|
||||
void LightTextureManager::correctLightObject() {
|
||||
int j = 0;
|
||||
for (int i = 0; i < mpLightMgr->GetNumLightData(); i++) {
|
||||
const LightObject *o = mpLightMgr->GetLightObject(i);
|
||||
const LightObject *o = mpLightMgr->GetLightObject((u16)i);
|
||||
if (o->CheckFlag1() && o->CheckFlag0x20()) {
|
||||
mpObjects[j] = o;
|
||||
j++;
|
||||
|
||||
Reference in New Issue
Block a user