mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Compile fixes, Implement CStateSetterFlow::OnMessage
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "CStateSetterFlow.hpp"
|
||||
|
||||
#include "CArchitectureMessage.hpp"
|
||||
#include "GameGlobalObjects.hpp"
|
||||
namespace urde
|
||||
{
|
||||
namespace MP1
|
||||
@@ -13,7 +14,12 @@ CStateSetterFlow::CStateSetterFlow()
|
||||
|
||||
CIOWin::EMessageReturn CStateSetterFlow::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue)
|
||||
{
|
||||
return EMessageReturn::Normal;
|
||||
if (msg.GetType() == EArchMsgType::TimerTick)
|
||||
{
|
||||
//g_Main->sub80004590();
|
||||
return EMessageReturn::RemoveIOWinAndExit;
|
||||
}
|
||||
return EMessageReturn::Exit;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user