- Added the C99 printf size specifiers 't' (ptrdiff_t) and 'z' (size_t) to
FString::Format() so that I can fix all the problem printf strings that a 64-bit GCC compile finds. SVN r968 (trunk)
This commit is contained in:
parent
99f55e8b8f
commit
a0d5463b49
22 changed files with 85 additions and 42 deletions
|
|
@ -499,7 +499,7 @@ int AActor::GetTics(FState * newstate)
|
|||
bool AActor::SetState (FState *newstate)
|
||||
{
|
||||
if (debugfile && player && (player->cheats & CF_PREDICTING))
|
||||
fprintf (debugfile, "for pl %d: SetState while predicting!\n", player-players);
|
||||
fprintf (debugfile, "for pl %td: SetState while predicting!\n", player-players);
|
||||
do
|
||||
{
|
||||
if (newstate == NULL)
|
||||
|
|
@ -3096,7 +3096,7 @@ bool AActor::UpdateWaterLevel (fixed_t oldz, bool dosplash)
|
|||
}
|
||||
|
||||
|
||||
// some additional checks to make deep sectors à la Boom splash without setting
|
||||
// some additional checks to make deep sectors <EFBFBD> la Boom splash without setting
|
||||
// the water flags.
|
||||
if (boomwaterlevel == 0 && waterlevel != 0 && dosplash) P_HitWater(this, Sector, fh);
|
||||
boomwaterlevel=waterlevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue