Skip to content

Commit

Permalink
Fixed bug in Clear() function SIntRange, mMax is never cleared. (#1162)
Browse files Browse the repository at this point in the history
Signed-off-by: German Semenov <GermanAizek@yandex.ru>
  • Loading branch information
GermanAizek committed Sep 16, 2023
1 parent f90488d commit 4834a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/rd-vanilla/tr_WorldEffects.cpp
Expand Up @@ -257,7 +257,7 @@ struct SIntRange
inline void Clear()
{
mMin = 0;
mMin = 0;
mMax = 0;
}
inline void Pick(int& V)
{
Expand Down
2 changes: 1 addition & 1 deletion codemp/rd-vanilla/tr_WorldEffects.cpp
Expand Up @@ -229,7 +229,7 @@ struct SIntRange
inline void Clear()
{
mMin = 0;
mMin = 0;
mMax = 0;
}
inline void Pick(int& V)
{
Expand Down

0 comments on commit 4834a1a

Please sign in to comment.