Message code enum part 4: finalized transition of Message to enum class.

This commit is contained in:
Muzychenko Andrey committed 2022-09-06 16:57:56 +03:00
1 parent e80010e3c6
commit dfe1665ba1
55 files changed
+751 -792

No files matched your search

+3 -3
View File
@@ -105,10 +105,10 @@ TPinballComponent::~TPinballComponent()
}
int TPinballComponent::Message(int code, float value)
int TPinballComponent::Message(MessageCode code, float value)
{
MessageField = code;
if (code == ~MessageCode::Reset)
MessageField = ~code;
if (code == MessageCode::Reset)
MessageField = 0;
return 0;
}