- moved FirstThinker function to FLevelLocals
Currently it is meaningless but that's where it should be later.
This commit is contained in:
parent
41e576bbb5
commit
d0942bcb97
4 changed files with 6 additions and 6 deletions
|
|
@ -328,7 +328,7 @@ void DThinker::PostSerialize()
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
DThinker *DThinker::FirstThinker (int statnum)
|
||||
DThinker *FLevelLocals::FirstThinker (int statnum)
|
||||
{
|
||||
DThinker *node;
|
||||
|
||||
|
|
@ -336,10 +336,10 @@ DThinker *DThinker::FirstThinker (int statnum)
|
|||
{
|
||||
statnum = MAX_STATNUM;
|
||||
}
|
||||
node = Thinkers[statnum].GetHead();
|
||||
node = DThinker::Thinkers[statnum].GetHead();
|
||||
if (node == NULL)
|
||||
{
|
||||
node = FreshThinkers[statnum].GetHead();
|
||||
node = DThinker::FreshThinkers[statnum].GetHead();
|
||||
if (node == NULL)
|
||||
{
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue