Changeset 25321

Timestamp:
Apr 26, 2021, 4:59:32 PM (3 years ago)
Author:
wraitii
Message:

Improve error message for broken quality levels in Actor files.

Differential Revision: https://code.wildfiregames.com/D3887

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/graphics/ObjectBase.cpp

    r25320 r25321  
    870870                    if (v > MAX_QUALITY)
    871871                    {
    872                         LOGERROR("Qualitylevel to attribute must not be above %i (file %s)", MAX_QUALITY, pathname.string8());
     872                        LOGERROR("Quality %i (file %s)", MAX_QUALITY, pathname.string8());
    873873                        return false;
    874874                    }
     
    948948        if (quality != MAX_QUALITY)
    949949        {
    950             LOGERROR("Quality levels must go up to %i (file %s)", MAX_QUALITY, pathname.string8().c_str());
     950            LOGERROR(", pathname.string8().c_str());
    951951            return false;
    952952        }
Note: See TracChangeset for help on using the changeset viewer.