Fuel usage on planet landing is now reported correctly on all situations

(bug #556), from Nic


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1298 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-12-10 22:37:18 +00:00
parent 2d799750ba
commit 363f1e0e57
2 changed files with 4 additions and 3 deletions
+2
View File
@@ -1,4 +1,6 @@
Changes towards version 0.4:
- Fuel usage on planet landing is now reported correctly on all situations
(bug #556), from Nic
- Fine-grained control of menu sounds, "MenuSounds" global now
guaranteed to always be non-null -Michael
- Added support for stdio file access through temporary files to uio.
+2 -3
View File
@@ -991,10 +991,9 @@ DoScan (PMENU_STATE pMS)
return (TRUE);
}
wsprintf (buf, "%s%u.%u",
wsprintf (buf, "%s%1.1f",
GAME_STRING (NAVIGATION_STRING_BASE + 5),
fuel_required / FUEL_TANK_SCALE,
((fuel_required % FUEL_TANK_SCALE) + 5) / 10);
(float) fuel_required / FUEL_TANK_SCALE);
LockMutex (GraphicsLock);
ClearSISRect (CLEAR_SIS_RADAR);
DrawStatusMessage (buf);