From c08b750804b21a802626e7822e1ee682dda1c5c9 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Wed, 14 Mar 2018 17:57:53 +0100 Subject: [PATCH] Fix regression where the fire was no longer propagated It's better to keep the map as it without changing this behaviour. It's just protected with the map editor; then everything is now working again. It fixes issue https://github.com/blupi-games/planetblupi/issues/54 --- src/decor.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/decor.cxx b/src/decor.cxx index ca2af57..2090904 100644 --- a/src/decor.cxx +++ b/src/decor.cxx @@ -382,11 +382,6 @@ CDecor::PutFloor (Point cel, Sint32 channel, Sint32 icon) m_decor[cel.x / 2][cel.y / 2].floorChannel = channel; m_decor[cel.x / 2][cel.y / 2].floorIcon = icon; - if ( - !g_restoreBugs && m_decor[cel.x / 2][cel.y / 2].fire && - !this->CanBurn (cel)) - m_decor[cel.x / 2][cel.y / 2].fire = 0; - m_bGroundRedraw = true; //? SubDrapeau(cel); // on pourra de nouveau planter un drapeau @@ -408,11 +403,6 @@ CDecor::PutObject (Point cel, Sint32 channel, Sint32 icon) m_decor[cel.x / 2][cel.y / 2].objectChannel = channel; m_decor[cel.x / 2][cel.y / 2].objectIcon = icon; - if ( - !g_restoreBugs && m_decor[cel.x / 2][cel.y / 2].fire && - !this->CanBurn (cel)) - m_decor[cel.x / 2][cel.y / 2].fire = 0; - SubDrapeau (cel); // on pourra de nouveau planter un drapeau return true;