mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
Merge branch 'crashlog_improvements' into jgrpp
This commit is contained in:
commit
ec62878758
@ -110,7 +110,7 @@ struct Pool : PoolBase {
|
|||||||
*/
|
*/
|
||||||
inline Titem *Get(size_t index)
|
inline Titem *Get(size_t index)
|
||||||
{
|
{
|
||||||
assert_msg(index < this->first_unused, "index: %zu, first_unused: %zu, name: %s", index, this->first_unused, this->name);
|
assert_msg(index < this->first_unused, "index: " PRINTF_SIZE ", first_unused: " PRINTF_SIZE ", name: %s", index, this->first_unused, this->name);
|
||||||
return this->data[index];
|
return this->data[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user