diff --git a/CMakeLists.txt b/CMakeLists.txt index e32db47621..4f1d03669d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -406,7 +406,7 @@ else (WIN32) endif (NOT DISABLE_RCT2) add_custom_command( OUTPUT g2.dat - COMMAND ./openrct2 --verbose sprite build ${CMAKE_BINARY_DIR}/g2.dat ${CMAKE_CURRENT_SOURCE_DIR}/resources/g2/sprites.json + COMMAND ./openrct2 sprite build ${CMAKE_BINARY_DIR}/g2.dat ${CMAKE_CURRENT_SOURCE_DIR}/resources/g2/sprites.json WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) add_custom_target(g2 DEPENDS ${PROJECT} g2.dat) diff --git a/src/openrct2/cmdline_sprite.c b/src/openrct2/cmdline_sprite.c index 4aa076d603..9174c158ea 100644 --- a/src/openrct2/cmdline_sprite.c +++ b/src/openrct2/cmdline_sprite.c @@ -665,7 +665,6 @@ sint32 cmdline_for_sprite(const char **argv, sint32 argc) char* directoryPath = path_get_directory(argv[1]); json_error_t error; - log_verbose("Sprite description file path: %s\n",spriteDescriptionPath); json_t* sprite_list=json_load_file(spriteDescriptionPath, JSON_REJECT_DUPLICATES, &error); if(sprite_list == NULL) {