- made ColorRangeStart and ColorRangeEnd meta properties of APlayerPawn.

These are only used during initialization and they should have been readonly from the start.
This commit is contained in:
Christoph Oelckers 2019-01-02 22:13:25 +01:00
commit 6eb8ded471
6 changed files with 21 additions and 20 deletions

View file

@ -1399,8 +1399,8 @@ DEFINE_CLASS_PROPERTY_PREFIX(player, colorrange, I_I, PlayerPawn)
if (start > end)
swapvalues (start, end);
defaults->ColorRangeStart = start;
defaults->ColorRangeEnd = end;
defaults->IntVar(NAME_ColorRangeStart) = start;
defaults->IntVar(NAME_ColorRangeEnd) = end;
}
//==========================================================================