mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
Fix missing newlines in animation messages
This commit is contained in:
parent
fe0de5053a
commit
c9e678b60e
1 changed files with 4 additions and 4 deletions
|
@ -5165,7 +5165,7 @@ void SetAnimationInternal(AActor * self, FName animName, double framerate, int s
|
|||
if(animStart == FErr_NotFound)
|
||||
{
|
||||
self->modelData->curAnim.flags = ANIMOVERRIDE_NONE;
|
||||
Printf("Could not find animation %s", animName.GetChars());
|
||||
Printf("Could not find animation %s\n", animName.GetChars());
|
||||
return;
|
||||
}
|
||||
int animEnd = mdl->FindLastFrame(animName);
|
||||
|
@ -5180,13 +5180,13 @@ void SetAnimationInternal(AActor * self, FName animName, double framerate, int s
|
|||
if(startFrame >= len)
|
||||
{
|
||||
self->modelData->curAnim.flags = ANIMOVERRIDE_NONE;
|
||||
Printf("frame %d is past the end of animation %s", startFrame, animName.GetChars());
|
||||
Printf("frame %d is past the end of animation %s\n", startFrame, animName.GetChars());
|
||||
return;
|
||||
}
|
||||
else if(loopFrame >= len)
|
||||
{
|
||||
self->modelData->curAnim.flags = ANIMOVERRIDE_NONE;
|
||||
Printf("frame %d is past the end of animation %s", startFrame, animName.GetChars());
|
||||
Printf("frame %d is past the end of animation %s\n", startFrame, animName.GetChars());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -5330,7 +5330,7 @@ void ChangeModelNative(
|
|||
|
||||
if (n_modeldef != NAME_None && (modeldef = PClass::FindActor(n_modeldef.GetChars())) == nullptr)
|
||||
{
|
||||
Printf("Attempt to pass invalid modeldef name %s in %s.", n_modeldef.GetChars(), self->GetCharacterName());
|
||||
Printf("Attempt to pass invalid modeldef name %s in %s.\n", n_modeldef.GetChars(), self->GetCharacterName());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue