Skip to content

Commit

Permalink
demanded changes to master code
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Dec 4, 2024
1 parent ce52b29 commit 5f7b7f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3083,7 +3083,7 @@ void game::move_save_to_graveyard()
debugmsg( "could not find save files in '%s'", save_dir );
}

for( const auto &src_path : save_files ) {
for( const cata_path &src_path : save_files ) {
const cata_path dst_path = graveyard_dir / src_path.get_relative_path().filename();

if( rename_file( src_path, dst_path ) ) {
Expand Down Expand Up @@ -8183,7 +8183,7 @@ bool game::take_screenshot() const
timestamp_now() );

std::string file_name = ensure_valid_file_name( tmp_file_name );
auto current_file_path = map_directory / file_name;
cata_path current_file_path = map_directory / file_name;

// Take a screenshot of the viewport.
if( take_screenshot( current_file_path.generic_u8string() ) ) {
Expand Down

0 comments on commit 5f7b7f2

Please sign in to comment.