This small change was left out by mistake.

This commit is contained in:
MajorCooke 2016-06-19 12:34:42 -05:00 committed by Christoph Oelckers
parent 30880aab79
commit ecfa7415b3

View file

@ -1190,7 +1190,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ClearOverlays)
// [MC]Don't affect non-hardcoded layers unless it's really desired.
pspr->SetState(nullptr);
count++;
pspr->GetNext();
pspr = pspr->GetNext();
}
ACTION_RETURN_INT(count);
}