mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-03 18:07:53 +01:00
committed by
Michael Steenbeek
parent
c9cbe391eb
commit
1fcedae3bc
@@ -1710,7 +1710,7 @@ static constexpr const uint8_t tshirt_colours[] = {
|
||||
*/
|
||||
Peep* Peep::Generate(const CoordsXYZ coords)
|
||||
{
|
||||
if (gSpriteListCount[SPRITE_LIST_NULL] < 400)
|
||||
if (gSpriteListCount[SPRITE_LIST_FREE] < 400)
|
||||
return nullptr;
|
||||
|
||||
Peep* peep = (Peep*)create_sprite(1);
|
||||
|
||||
Reference in New Issue
Block a user