(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
This commit is contained in:
@@ -472,7 +472,7 @@ static void SlNullPointers()
|
||||
* @note This function does never return as it throws an exception to
|
||||
* break out of all the saveload code.
|
||||
*/
|
||||
static void NORETURN SlError(StringID string, const char *extra_msg = NULL)
|
||||
void NORETURN SlError(StringID string, const char *extra_msg)
|
||||
{
|
||||
/* Distinguish between loading into _load_check_data vs. normal save/load. */
|
||||
if (_sl.action == SLA_LOAD_CHECK) {
|
||||
|
Reference in New Issue
Block a user