diff options
author | frosch <frosch@openttd.org> | 2009-08-10 20:06:39 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-08-10 20:06:39 +0000 |
commit | 52f9b8ffbd5fe9222da34e968d69876982b9a810 (patch) | |
tree | ac1f89eacfa91e22cdd80d1c7d39ba898bd0944f /src/news_type.h | |
parent | 238b0e43bbaa997acb7e53f1de118a963bb330fa (diff) | |
download | openttd-52f9b8ffbd5fe9222da34e968d69876982b9a810.tar.xz |
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
Diffstat (limited to 'src/news_type.h')
-rw-r--r-- | src/news_type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/news_type.h b/src/news_type.h index 12e6a5ff6..189369e78 100644 --- a/src/news_type.h +++ b/src/news_type.h @@ -68,6 +68,12 @@ enum NewsMode { /** * References to objects in news. + * + * @warning + * Be careful! + * Vehicles are a special case, as news are kept when vehicles are autoreplaced/renewed. + * You have to make sure, #ChangeVehicleNews catches the DParams of your message. + * This is NOT ensured by the references. */ enum NewsReferenceType { NR_NONE, ///< Empty reference |