- 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:
parent
8bbbd95dfd
commit
6eb8ded471
6 changed files with 21 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue