X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frefcounter.hpp;h=e810efe106f4bc49c771fc601cfa62aa6c2d8b6d;hb=2f6318d5598f33ce0dd19017148053518521bd0a;hp=1c26b594df57469981f11c0650125134e74b7f2c;hpb=13c6f377301f91c8d79ab768ba97b5eb771ed624;p=supertux.git diff --git a/src/refcounter.hpp b/src/refcounter.hpp index 1c26b594d..e810efe10 100644 --- a/src/refcounter.hpp +++ b/src/refcounter.hpp @@ -1,5 +1,5 @@ -// $Id: refcounter.hpp 1195 2006-01-07 10:37:52Z grumbel $ -// +// $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; } }