From c9e678b60e4714f522c4cd546783a46c85758651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Fri, 15 Mar 2024 14:33:17 -0300 Subject: [PATCH] Fix missing newlines in animation messages --- src/playsim/p_actionfunctions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/playsim/p_actionfunctions.cpp b/src/playsim/p_actionfunctions.cpp index 76d6be9fd..410ac6a53 100644 --- a/src/playsim/p_actionfunctions.cpp +++ b/src/playsim/p_actionfunctions.cpp @@ -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; }