[planetblupi] 11/15: Fix regression where the fire was no longer propagated

Didier Raboud odyx at moszumanska.debian.org
Thu Mar 15 07:59:41 UTC 2018


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit c08b750804b21a802626e7822e1ee682dda1c5c9
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Wed Mar 14 17:57:53 2018 +0100

    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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list