mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Remove logging
This commit is contained in:
@@ -406,7 +406,7 @@ else (WIN32)
|
|||||||
endif (NOT DISABLE_RCT2)
|
endif (NOT DISABLE_RCT2)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT g2.dat
|
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}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
|
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
|
||||||
|
|||||||
@@ -665,7 +665,6 @@ sint32 cmdline_for_sprite(const char **argv, sint32 argc)
|
|||||||
char* directoryPath = path_get_directory(argv[1]);
|
char* directoryPath = path_get_directory(argv[1]);
|
||||||
|
|
||||||
json_error_t error;
|
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);
|
json_t* sprite_list=json_load_file(spriteDescriptionPath, JSON_REJECT_DUPLICATES, &error);
|
||||||
|
|
||||||
if(sprite_list == NULL) {
|
if(sprite_list == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user