1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +01:00

Added even more spaces

This commit is contained in:
X7123M3-256
2016-02-27 13:13:15 +00:00
parent 93ed052e20
commit 9589a98d40

View File

@@ -212,7 +212,7 @@ int write_object_file(SDL_RWops *rw, rct_object_entry* entry)
//Check if content of object file matches the stored checksum. If it does not, then fix it.
int calculated_checksum = object_calculate_checksum(entry, chunk, installed_entry->chunk_size);
if(entry->checksum != calculated_checksum){
if(entry->checksum != calculated_checksum) {
//Store the current length of the header - it's the offset at which we will write the extra bytes
int salt_offset = chunkHeader.length;
/*Allocate a new chunk 11 bytes longer.
@@ -280,7 +280,7 @@ int object_load_packed(SDL_RWops* rw)
if (object_calculate_checksum(&entry, chunk, chunkSize) != entry.checksum){
if(gConfigGeneral.allow_loading_with_incorrect_checksum){
if(gConfigGeneral.allow_loading_with_incorrect_checksum) {
log_warning("Checksum mismatch from packed object: %.8s", entry.name);
} else {
log_error("Checksum mismatch from packed object: %.8s", entry.name);