Fixed fuel usage estimate to selected destination on the starmap.

Original bug, not reported.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1278 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-10-16 21:38:13 +00:00
parent 250bd3e466
commit c4fc899bcf
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
+1 -1
View File
@@ -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