mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Add LOG_ERROR calls
This commit is contained in:
@@ -49,6 +49,7 @@ GameActions::Result StaffSetNameAction::Query() const
|
||||
{
|
||||
if (_spriteIndex.ToUnderlying() >= MAX_ENTITIES || _spriteIndex.IsNull())
|
||||
{
|
||||
LOG_ERROR("Invalid sprite index %u", _spriteIndex);
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_STAFF_ERROR_CANT_NAME_STAFF_MEMBER, STR_NONE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user