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

Move the main screen button always to the left

This commit is contained in:
Mathieu Schroeter 2018-08-08 06:48:29 +02:00
parent 4a18b2e9ea
commit b1c6fa9003

View File

@ -2018,7 +2018,9 @@ CEvent::CreateButtons (Sint32 phase)
pos.y = table[m_index].buttons[i].y;
message = table[m_index].buttons[i].message;
if (phase != EV_PHASE_PLAY && phase != EV_PHASE_BUILD)
if (
phase != EV_PHASE_PLAY && phase != EV_PHASE_BUILD &&
phase != EV_PHASE_INIT)
pos.x += LXOFFSET ();
if (m_bPrivate)