mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Fixed gcc warning.
This commit is contained in:
parent
e314ee432e
commit
d01ecb71df
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ void ZoneEntityItem::resetRenderingPropertiesChanged() {
|
|||
}
|
||||
|
||||
void ZoneEntityItem::setHazeMode(const uint32_t value) {
|
||||
if (_hazeMode >= 0 && _hazeMode < COMPONENT_MODE_ITEM_COUNT) {
|
||||
if (value < COMPONENT_MODE_ITEM_COUNT) {
|
||||
_hazeMode = value;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue