CScriptDock: Make EDockState an enum class

Makes the enum type strongly typed. All usages currently allow for this
anyways.
This commit is contained in:
Lioncash 2020-01-31 21:34:07 -05:00
parent cbf7140d21
commit 9a8f99faa5
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
namespace urde { namespace urde {
class CScriptDock : public CPhysicsActor { class CScriptDock : public CPhysicsActor {
enum EDockState { Idle, PlayerTouched, EnterNextArea, Three }; enum class EDockState { Idle, PlayerTouched, EnterNextArea, Three };
friend class CScriptDoor; friend class CScriptDoor;
s32 x258_dockReferenceCount; s32 x258_dockReferenceCount;