From 5303526c70138423b074d06cf794b584728f0405 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 26 Aug 2016 08:34:27 +0200 Subject: [PATCH] - actually use the parameter... --- src/dthinker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dthinker.h b/src/dthinker.h index 855c3c9ad..ac5adc431 100644 --- a/src/dthinker.h +++ b/src/dthinker.h @@ -79,8 +79,8 @@ public: static void DestroyMostThinkers (); static void DestroyThinkersInList(int statnum) { - DestroyThinkersInList(Thinkers[STAT_TRAVELLING]); - DestroyThinkersInList(FreshThinkers[STAT_TRAVELLING]); + DestroyThinkersInList(Thinkers[statnum]); + DestroyThinkersInList(FreshThinkers[statnum]); } static void SerializeAll (FArchive &arc, bool keepPlayers); static void MarkRoots();