X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frefcounter.hpp;h=e810efe106f4bc49c771fc601cfa62aa6c2d8b6d;hb=13c84268f16872f9b442251c4175a3a1a7a7899a;hp=c6d95984e260996562ae5fdf1f68c131ffd30fc0;hpb=cb941f239a04ee0588c99bfcdcd6aff62e1fbc98;p=supertux.git diff --git a/src/refcounter.hpp b/src/refcounter.hpp index c6d95984e..e810efe10 100644 --- a/src/refcounter.hpp +++ b/src/refcounter.hpp @@ -1,5 +1,5 @@ // $Id$ -// +// // Windstille - A Jump'n Shoot Game // Copyright (C) 2005 Matthias Braun // @@ -12,7 +12,7 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -44,7 +44,6 @@ public: refcount--; if(refcount <= 0) { delete this; - return; } }