From d5dd5fe7a1e85e735253624b326c9b0f51059ae1 Mon Sep 17 00:00:00 2001 From: Hedgehog Fog Date: Tue, 23 Feb 2021 22:18:14 +0200 Subject: [PATCH] fixed null characted check --- src/scripts/extra/zp_hud_hints.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/extra/zp_hud_hints.sma b/src/scripts/extra/zp_hud_hints.sma index fdd3c5f..956d64f 100644 --- a/src/scripts/extra/zp_hud_hints.sma +++ b/src/scripts/extra/zp_hud_hints.sma @@ -364,7 +364,7 @@ stock UTIL_CalculateHUDLines(const szText[]) { new iLineLength = 0; for (new i = 0; i < 256; ++i) { - if (szText[i] == 0) { + if (szText[i] == '^0') { break; }