From 2200e68794a90d2c0431c900fd671c41bca755d0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 13 Jan 2019 13:57:52 +0100 Subject: [PATCH] - removed the level assignment in ChangeStatNum. This would just overwrite what got set before --- src/dthinker.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dthinker.cpp b/src/dthinker.cpp index cb221898e98..9fe4baab285 100644 --- a/src/dthinker.cpp +++ b/src/dthinker.cpp @@ -367,8 +367,6 @@ void DThinker::ChangeStatNum (int statnum) { FThinkerList *list; - Level = currentSession == nullptr ? nullptr : currentSession->Levelinfo[0]; // fixme later. - if ((unsigned)statnum > MAX_STATNUM) { statnum = MAX_STATNUM;