From bc256d6dbef389a872e7a9b6fe37be2dd9ea542b Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 28 Aug 2010 17:19:15 +0000 Subject: [PATCH] Fix an erroneus warning message in the Dict destructor. --- src/dict.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dict.cpp b/src/dict.cpp index 024add06..0102ff5d 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -99,6 +99,7 @@ void Dict::RemoveSlot(int id) { if (Ticker::Unref(data->entities[id]) == 0) data->entities[id] = NULL; + data->nentities--; }