Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use typed point in android code #79182

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sdltiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2761,7 +2761,7 @@ static void CheckMessages()
const tripoint_bub_ms bub_pos( pos );
// Check if we're near a vehicle, if so, vehicle controls should be top.
{
const optional_vpart_position vp = here.veh_at( pos );
const optional_vpart_position vp = here.veh_at( bub_pos );
if( vp ) {
if( const std::optional<vpart_reference> controlpart = vp.part_with_feature( "CONTROLS", true ) ) {
actions.insert( ACTION_CONTROL_VEHICLE );
Expand Down
Loading