1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Files
OpenRCT2/src/openrct2/object/WallSceneryEntry.cpp
2025-06-14 22:29:21 +01:00

17 lines
682 B
C++

/*****************************************************************************
* Copyright (c) 2014-2025 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#include "WallSceneryEntry.h"
OpenRCT2::Audio::DoorSoundType WallSceneryEntry::getDoorSoundType() const
{
return static_cast<OpenRCT2::Audio::DoorSoundType>(
(flags2 & WALL_SCENERY_2_DOOR_SOUND_MASK) >> WALL_SCENERY_2_DOOR_SOUND_SHIFT);
}