From f4598db7583c96098e6cc6ee9dea5ab2b766ac0f Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Sun, 17 Jul 2016 06:56:07 -0700 Subject: [PATCH] party health status sometimes shows up in wrong windows using displayf2 --- Platform/Apple/virtual/src/plasma/gameloop.pla | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Platform/Apple/virtual/src/plasma/gameloop.pla b/Platform/Apple/virtual/src/plasma/gameloop.pla index e7da7771..c894f37b 100644 --- a/Platform/Apple/virtual/src/plasma/gameloop.pla +++ b/Platform/Apple/virtual/src/plasma/gameloop.pla @@ -1190,9 +1190,10 @@ export def showParty() // Display the player's name and health displayStr(p=>s_name) rawDisplayStr("^T070") -// rightJustifyNum(p=>w_health, CHAR_WND_LIFE_X) -// displayChar('\n') - displayf2("%d/%d\n", p=>w_health, p=>w_maxHealth) + displayStr(convertDec(p=>w_health)) + displayChar('/') + displayStr(convertDec(p=>w_maxHealth)) + displayChar('\n') p = p=>p_nextObj loop