Added assert and error log for questionable localisation code

This commit is contained in:
duncanspumpkin committed 2016-02-19 17:53:35 +00:00
1 parent 0e550d8b6b
commit 60b8407b2b
1 file changed
+2
+2
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]);
}
}