Skip to content

Commit

Permalink
- removed the level assignment in ChangeStatNum.
Browse files Browse the repository at this point in the history
This would just overwrite what got set before
  • Loading branch information
coelckers committed Jan 13, 2019
1 parent c2a78bb commit 2200e68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dthinker.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2200e68

Please sign in to comment.