1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Added assert and error log for questionable localisation code

This commit is contained in:
duncanspumpkin
2016-02-19 17:53:35 +00:00
parent 0e550d8b6b
commit 60b8407b2b

View File

@@ -792,6 +792,8 @@ void format_string_part(utf8 **dest, rct_string_id format, char **args)
*args += 4;
} else {
// ?
log_error("Localisation CALLPROC reached. Please contact a dev");
assert(false);
RCT2_CALLPROC_EBPSAFE(RCT2_ADDRESS(0x0095AFB8, uint32)[format]);
}
}