From 0f1d0507eb95cf07ce7eb66d89ad9853938612e6 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Mon, 29 Aug 2016 17:40:13 +0100 Subject: change *strcharinfo to use constants --- npc/other/hugel_bingo.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/other/hugel_bingo.txt') diff --git a/npc/other/hugel_bingo.txt b/npc/other/hugel_bingo.txt index 50a9374f6..965405807 100644 --- a/npc/other/hugel_bingo.txt +++ b/npc/other/hugel_bingo.txt @@ -487,7 +487,7 @@ OnTouch: if ($@hu_bingoa == 5) { $@hu_bingoa = 6; donpcevent "start2#bingo::OnStop"; - $@bingowinner$ = strcharinfo(0); + $@bingowinner$ = strcharinfo(PC_NAME); donpcevent "win1a#bingo::OnWin"; close; @@ -669,7 +669,7 @@ OnInit: end; OnTouch: - if ($@bingowinner$ != strcharinfo(0)) end; + if ($@bingowinner$ != strcharinfo(PC_NAME)) end; specialeffect EF_SUI_EXPLOSION; soundeffect "tming_success.wav",1; if ($@bingoresult == 16) getitem 7515,50; -- cgit v1.2.3-60-g2f50