(svn r22246) -Fix: Process order window invalidations for specific orders in command-scope.

This commit is contained in:
frosch
2011-03-13 21:33:57 +00:00
parent 071957f593
commit 307eeb3c46
2 changed files with 4 additions and 2 deletions

View File

@@ -835,8 +835,9 @@ public:
break;
default:
if (!gui_scope) break;
if (data < 0) break;
if (gui_scope) break; // only do this once; from command scope
from = GB(data, 0, 8);
to = GB(data, 8, 8);
/* Moving an order. If one of these is INVALID_VEH_ORDER_ID, then