From 0134968f7b751d1cebb6726d344c57856f2444af Mon Sep 17 00:00:00 2001 From: b3brodie Date: Fri, 29 Nov 2024 15:45:34 -0800 Subject: [PATCH] move away from old cast style --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index 0bf1bea9f5ae9..0c0d77c5b5f8e 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -2575,7 +2575,7 @@ bool map::passable_skip_fields( const tripoint &p ) const bool map::passable_skip_fields( const tripoint_bub_ms &p ) const { - return move_cost( p, ( const vehicle * )nullptr, true ) != 0; + return move_cost( p, static_cast( nullptr ), true ) != 0; } int map::move_cost_ter_furn( const tripoint &p ) const