mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
committed by
GitHub
parent
78f6e3e8e3
commit
f1a5e62440
@@ -195,7 +195,12 @@ bool ViewportInteractionLeftClick(const ScreenCoordsXY& screenCoords)
|
||||
case SpriteIdentifier::Misc:
|
||||
if (game_is_not_paused())
|
||||
{
|
||||
switch (entity->As<MiscEntity>()->SubType)
|
||||
auto miscEntity = entity->As<MiscEntity>();
|
||||
if (miscEntity == nullptr)
|
||||
{
|
||||
break;
|
||||
}
|
||||
switch (miscEntity->SubType)
|
||||
{
|
||||
case MiscEntityType::Balloon:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user