Skip to content

Commit

Permalink
Fixed incorrect checking for SP, which leads to wrong size of the pro…
Browse files Browse the repository at this point in the history
…gress line in the loading screen. Tnx to SkyLoader.
  • Loading branch information
ShokerStlk authored and CrossVR committed Mar 7, 2017
1 parent 691bcdc commit 707e636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/x_ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void CApplication::LoadStage()
phase_timer.Start();
Msg("* phase cmem: %d K", Memory.mem_usage() / 1024);

if (g_pGamePersistent->GameType() == 1 && strstr(Core.Params, "alife"))
if (g_pGamePersistent->GameType() == 1 && !xr_strcmp(g_pGamePersistent->m_game_params.m_alife, "alife"))
max_load_stage = 17;
else
max_load_stage = 14;
Expand Down

0 comments on commit 707e636

Please sign in to comment.