forked from mirror/OpenTTD
(svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user