diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-06-15 13:59:16 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-06-15 13:59:16 -0400 |
| commit | 0146d0b91f766a5c4ced31afd4a43e0961b4bde3 (patch) | |
| tree | eb766ed726e1312fea63f6b7700e61e7ce7a890d /src/d/d_stage.cpp | |
| parent | a15a72f209aa1e508bc540a95b6383dae44bf343 (diff) | |
d_a_player_main cleanup and inlines
Diffstat (limited to 'src/d/d_stage.cpp')
| -rw-r--r-- | src/d/d_stage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_stage.cpp b/src/d/d_stage.cpp index fcc19831..afbf8d2c 100644 --- a/src/d/d_stage.cpp +++ b/src/d/d_stage.cpp @@ -1477,7 +1477,7 @@ int dStage_playerInit(dStage_dt_c* i_stage, void* i_data, int num, void* i_file) appen->base.angle = player_data->base.angle; appen->base.setID = player_data->base.setID; - if (roomParam != 0 && (int)((appen->base.parameters >> 0xC) & 0xF) != 2) { + if (roomParam != 0 && daPy_lk_c::getStartModeFromParam(appen->base.parameters) != 2) { appen->base.parameters = (roomParam & 0xFFFFFFC0) | (appen->base.parameters & 0x3F); } } |
