mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Remove SPRITE_INDEX_NULL
This commit is contained in:
@@ -123,8 +123,6 @@ constexpr money16 ToMoney16(money64 value)
|
||||
using EMPTY_ARGS_VOID_POINTER = void();
|
||||
using rct_string_id = uint16_t;
|
||||
|
||||
constexpr uint16_t SPRITE_INDEX_NULL = 0xFFFF;
|
||||
|
||||
#define SafeFree(x) \
|
||||
do \
|
||||
{ \
|
||||
|
||||
@@ -1103,7 +1103,7 @@ void PaintSurface(paint_session& session, uint8_t direction, uint16_t height, co
|
||||
|
||||
// Draw Staff Patrol Areas
|
||||
// loc_660D02
|
||||
if (gStaffDrawPatrolAreas != SPRITE_INDEX_NULL)
|
||||
if (gStaffDrawPatrolAreas != EntityId::GetNull().ToUnderlying())
|
||||
{
|
||||
// TODO: Split is_staff_list into a new variable.
|
||||
const int32_t staffIndex = gStaffDrawPatrolAreas;
|
||||
|
||||
Reference in New Issue
Block a user