diff --git a/sc2/ChangeLog b/sc2/ChangeLog index f29582fbc..066d398a6 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.4: +- Fixed fuel usage estimate to selected destination on the starmap. + (original bug, not reported) - SvdB - Sound decoders refactoring: decoders are now virtualized, the high-level decoding code is unified and any format is theoretically streamable -Alex diff --git a/sc2/src/sc2code/planets/pstarmap.c b/sc2/src/sc2code/planets/pstarmap.c index 1a8b0e64c..2fe5d48cd 100644 --- a/sc2/src/sc2code/planets/pstarmap.c +++ b/sc2/src/sc2code/planets/pstarmap.c @@ -797,7 +797,7 @@ UpdateCursorInfo: if (f == 0 || GET_GAME_STATE (ARILOU_SPACE_SIDE) > 1) fuel_required = 0; else - fuel_required = square_root (f) + (FUEL_TANK_SCALE >> 1); + fuel_required = square_root (f) + (FUEL_TANK_SCALE / 20); LockMutex (GraphicsLock); DrawHyperCoords (pMenuState->first_item); if (last_buf == (UNICODE) ~0