diff options
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r-- | src/resources/dye.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index 92c830dc..d594299c 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -134,7 +134,7 @@ void DyePalette::getColor(int intensity, int color[3]) const void DyePalette::getColor(double intensity, int color[3]) const { // Nothing to do here - if (mColors.size() == 0) + if (mColors.empty()) return; // Force range |