|
@@ -17,12 +17,14 @@
|
|
|
#include "vehicle_gui.h"
|
|
|
#include "misc/autoptr.hpp"
|
|
|
#include "strings_func.h"
|
|
|
#include "functions.h"
|
|
|
#include "window_func.h"
|
|
|
#include "vehicle_func.h"
|
|
|
#include "autoreplace_base.h"
|
|
|
#include "autoreplace_func.h"
|
|
|
|
|
|
/**
|
|
|
* Update the num engines of a groupID. Decrease the old one and increase the new one
|
|
|
* @note called in SetTrainGroupID and UpdateTrainGroupID
|
|
|
* @param i EngineID we have to update
|
|
|
* @param old_g index of the old group
|