Files @ r5520:aa1247f0561e
Branch filter:

Location: cpp/openttd-patchpack/source/src/callback_table.h - annotation

Darkvater
(svn r7823) -Fix (r7384 / r7368 / r3757 / r7388): News windows could still cause crashes because
DeleteVehicleNews shuffles around _news_items which can wreak havoc with the NewsItem*
of a currently open news window. While here also correctly update _current_news and
_forced_news for the same reasons. Should really work now.
/* $Id$ */

#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

#include "command.h"

extern CommandCallback *_callback_table[];
extern const int _callback_table_count;

#endif /* CALLBACK_TABLE_H */