Made code -Wshadow clean, missed a bunch of issues in the last commit
[supertux.git] / src / object / candle.cpp
index a9abc9d..a3b8f15 100644 (file)
@@ -117,11 +117,11 @@ Candle::get_burning()
 }
 
 void
-Candle::set_burning(bool burning)
+Candle::set_burning(bool burning_)
 {
-  if (this->burning == burning) return;
-  this->burning = burning;
-  if (burning) {
+  if (this->burning == burning_) return;
+  this->burning = burning_;
+  if (burning_) {
     sprite->set_action("on");
   } else {
     sprite->set_action("off");