- Fixed: FBaseStatusBar::DrBNumber() should behave like Doom's

STlib_drawNum(), and FDoomStatusBarTexture::DrawToBar() should add
  the textures left offset to the x coordinate before drawing.
  These fix Twice Risen's status bar.
- Changed: VPrintf now uses string.VFormat(), instead of vsprintf().


SVN r53 (trunk)
This commit is contained in:
Randy Heit 2006-04-18 06:07:09 +00:00
commit c3c22c9453
4 changed files with 63 additions and 71 deletions

View file

@ -712,13 +712,12 @@ extern BOOL gameisdead;
int VPrintf (int printlevel, const char *format, va_list parms)
{
char outline[8192];
if (gameisdead)
return 0;
vsprintf (outline, format, parms);
return PrintString (printlevel, outline);
string outline;
outline.VFormat (format, parms);
return PrintString (printlevel, outline.GetChars());
}
int STACK_ARGS Printf (int printlevel, const char *format, ...)