diff options
author | rubidium <rubidium@openttd.org> | 2014-04-23 20:13:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-04-23 20:13:33 +0000 |
commit | 0463dbdc9e5b39399765015c394e29dedaf7d041 (patch) | |
tree | 0d115f2027997f6c452d59d63919f9a6d05cb8be /src/newgrf_cargo.cpp | |
parent | 287ecd158249628a9b12aa5567e0e188499084f5 (diff) | |
download | openttd-0463dbdc9e5b39399765015c394e29dedaf7d041.tar.xz |
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
Diffstat (limited to 'src/newgrf_cargo.cpp')
-rw-r--r-- | src/newgrf_cargo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_cargo.cpp b/src/newgrf_cargo.cpp index 016698523..7d830c573 100644 --- a/src/newgrf_cargo.cpp +++ b/src/newgrf_cargo.cpp @@ -13,6 +13,8 @@ #include "debug.h" #include "newgrf_spritegroup.h" +#include "safeguards.h" + /** Resolver of cargo. */ struct CargoResolverObject : public ResolverObject { CargoResolverObject(const CargoSpec *cs, CallbackID callback = CBID_NO_CALLBACK, uint32 callback_param1 = 0, uint32 callback_param2 = 0); |