Merge remote-tracking branch 'upstream/master' into 13.0
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "roadveh.h"
|
||||
#include "ship.h"
|
||||
#include "aircraft.h"
|
||||
#include "engine_cmd.h"
|
||||
|
||||
#include "widgets/engine_widget.h"
|
||||
|
||||
@@ -127,7 +128,7 @@ struct EnginePreviewWindow : Window {
|
||||
{
|
||||
switch (widget) {
|
||||
case WID_EP_YES:
|
||||
DoCommandP(0, this->window_number, 0, CMD_WANT_ENGINE_PREVIEW);
|
||||
Command<CMD_WANT_ENGINE_PREVIEW>::Post(this->window_number);
|
||||
FALLTHROUGH;
|
||||
case WID_EP_NO:
|
||||
if (!citymania::_estimate_mod) this->Close();
|
||||
|
||||
Reference in New Issue
Block a user