Skip to content

Commit 707e636

Browse files
ShokerStlkCrossVR
authored andcommitted
Fixed incorrect checking for SP, which leads to wrong size of the progress line in the loading screen. Tnx to SkyLoader.
1 parent 691bcdc commit 707e636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrEngine/x_ray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ void CApplication::LoadStage()
318318
phase_timer.Start();
319319
Msg("* phase cmem: %d K", Memory.mem_usage() / 1024);
320320

321-
if (g_pGamePersistent->GameType() == 1 && strstr(Core.Params, "alife"))
321+
if (g_pGamePersistent->GameType() == 1 && !xr_strcmp(g_pGamePersistent->m_game_params.m_alife, "alife"))
322322
max_load_stage = 17;
323323
else
324324
max_load_stage = 14;

0 commit comments

Comments
 (0)