Skip to content

Commit

Permalink
fixed null characted check
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedgefog committed Feb 23, 2021
1 parent 377619c commit d5dd5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/extra/zp_hud_hints.sma
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d5dd5fe

Please sign in to comment.