2
0
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:
2017-11-04 23:29:22 -07:00
parent 140c24bf60
commit 67748655ba
4 changed files with 26 additions and 12 deletions

View File

@@ -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;
}
}