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:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user