mirror of
https://github.com/vcmi/vcmi.git
synced 2025-10-08 23:22:25 +02:00
make sonar happy
This commit is contained in:
@@ -421,13 +421,14 @@ void AdventureMapWidget::setPlayerChildren(CIntObject * widget, const PlayerColo
|
||||
if(container)
|
||||
setPlayerChildren(container, player);
|
||||
|
||||
if (textureColored)
|
||||
if(textureColored)
|
||||
textureColored->setPlayerColor(player);
|
||||
|
||||
if (textureIndexed)
|
||||
if(textureIndexed)
|
||||
textureIndexed->setPlayerColor(player);
|
||||
|
||||
setPlayerChildren(entry, player);
|
||||
if(entry)
|
||||
setPlayerChildren(entry, player);
|
||||
}
|
||||
|
||||
redraw();
|
||||
|
Reference in New Issue
Block a user