From 835188124a6e590b406d81803b8d47f07884a9ea Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 26 Aug 2013 19:14:26 +0200 Subject: Added an integer overflow check on literal values in the script parser - When attempting to use a value greater than INT_MAX or smaller than INT_MIN (about +/- 2 billions), an error message will be shown and script execution will be aborted. - Corrected some scripts that were attempting to use such values. - Fixed some possible issues when using literal negative values in scripts. Thanks to Ind for his help on this issue (figuring it out and fixing it) Signed-off-by: Haru --- npc/pre-re/guides/guides_lighthalzen.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/pre-re') diff --git a/npc/pre-re/guides/guides_lighthalzen.txt b/npc/pre-re/guides/guides_lighthalzen.txt index c9fb40b5b..466182cd9 100644 --- a/npc/pre-re/guides/guides_lighthalzen.txt +++ b/npc/pre-re/guides/guides_lighthalzen.txt @@ -80,7 +80,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 852,{ mes "activity, or if you have any"; mes "problems whatsoever."; if (.@compass_check) - viewpoint 1,236,276,4,0x99FFFFF; + viewpoint 1,236,276,4,0x99FFFF; break; case 4: mes "[Lighthalzen Guide]"; -- cgit v1.2.3-60-g2f50