1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Merge branch 'master' into wip/sdl2

This commit is contained in:
Mathieu Schroeter 2017-01-23 23:59:04 +01:00
commit 5418cd52d5
2 changed files with 6 additions and 6 deletions

View File

@ -4562,15 +4562,15 @@ void CEvent::DemoRecEvent(UINT message, WPARAM wParam, LPARAM lParam)
m_pDemoBuffer[m_demoIndex-1].time == m_demoTime &&
m_pDemoBuffer[m_demoIndex-1].message == message )
{
m_pDemoBuffer[m_demoIndex-1].wParam = wParam;
m_pDemoBuffer[m_demoIndex-1].lParam = lParam;
m_pDemoBuffer[m_demoIndex-1].wParam = static_cast<UINT> (wParam);
m_pDemoBuffer[m_demoIndex-1].lParam = static_cast<UINT> (lParam);
}
else
{
m_pDemoBuffer[m_demoIndex].time = m_demoTime;
m_pDemoBuffer[m_demoIndex].message = message;
m_pDemoBuffer[m_demoIndex].wParam = wParam;
m_pDemoBuffer[m_demoIndex].lParam = lParam;
m_pDemoBuffer[m_demoIndex].wParam = static_cast<UINT> (wParam);
m_pDemoBuffer[m_demoIndex].lParam = static_cast<UINT> (lParam);
m_demoIndex ++;
if ( m_demoIndex >= MAXDEMO )

View File

@ -40,8 +40,8 @@ typedef struct
{
int time;
UINT message;
WPARAM wParam;
LPARAM lParam;
UINT wParam; // WPARAM
UINT lParam; // LPARAM
}
DemoEvent;