diff options
author | smatz <smatz@openttd.org> | 2011-02-08 18:34:13 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-02-08 18:34:13 +0000 |
commit | 887a7724dc3f68cdd3d0c566c66adf00696e4bc0 (patch) | |
tree | 00a9055a6bc84b0f9d278e3a8faac022dd0a3778 /src/saveload/saveload.cpp | |
parent | 364ef8e6e6342f8f777da561571422c8c57c402b (diff) | |
download | openttd-887a7724dc3f68cdd3d0c566c66adf00696e4bc0.tar.xz |
(svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames
Diffstat (limited to 'src/saveload/saveload.cpp')
-rw-r--r-- | src/saveload/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index ce3281715..ae759f4d1 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -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) { |