Initial Commit

This commit is contained in:
Elias Fleckenstein
2020-07-06 15:50:55 +02:00
parent a87805a944
commit e610149c0c
19 changed files with 147 additions and 428 deletions

View File

@@ -793,6 +793,9 @@ void GenericCAO::addToScene(ITextureSource *tsrc)
void GenericCAO::updateLight(u8 light_at_pos)
{
if (g_settings->getBool("fullbright"))
light_at_pos = 255;
// Don't update light of attached one
if (getParent() != NULL) {
return;