- 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:
parent
d8500150f3
commit
c3c22c9453
4 changed files with 63 additions and 71 deletions
|
|
@ -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, ...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue