mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r25461) -Fix: MSVC compiler warning
This commit is contained in:
parent
7da3d336f3
commit
7134b7c8a1
@ -4224,8 +4224,8 @@ void FlowStatMap::FinalizeLocalConsumption(StationID self)
|
||||
fs.ChangeShare(INVALID_STATION, -INT_MAX);
|
||||
local -= INT_MAX;
|
||||
}
|
||||
fs.ChangeShare(self, (int)-local);
|
||||
fs.ChangeShare(INVALID_STATION, (int)-local);
|
||||
fs.ChangeShare(self, -(int)local);
|
||||
fs.ChangeShare(INVALID_STATION, -(int)local);
|
||||
|
||||
/* If the local share is used up there must be a share for some
|
||||
* remote station. */
|
||||
|
Loading…
Reference in New Issue
Block a user