callback_table.h
author bjarni
Sat, 05 Nov 2005 14:01:00 +0000
changeset 2601 7c94a0e394a6
parent 2436 177cb6a8339f
child 4828 9e32eafd4657
permissions -rw-r--r--
(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
Now it gives "too many vehicles" error message instead
To make this work, AllocateVehicles() needed to be moved to vehicle.c (from aircraft_cmd.c) and made non-static
/* $Id$ */

#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

#include "functions.h"

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

#endif /* CALLBACK_TABLE_H */