summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-28 09:57:29 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-28 09:57:29 +0000
commitf2aa0cc3c716b5c8320777cc1049f22e63f626f2 (patch)
treee02e68957aac150491c7bf37335e84af528023f8 /npc/merchants
parentf823790981543fbae9f22845558970137f8b0cc1 (diff)
downloadhercules-f2aa0cc3c716b5c8320777cc1049f22e63f626f2.tar.gz
hercules-f2aa0cc3c716b5c8320777cc1049f22e63f626f2.tar.bz2
hercules-f2aa0cc3c716b5c8320777cc1049f22e63f626f2.tar.xz
hercules-f2aa0cc3c716b5c8320777cc1049f22e63f626f2.zip
* Internal changes to the script engine:
- modulus division detects division by 0. dividing by zero stops the script and gives an error - underflow/overflow messages differentiated (warnings) - when a script function doesn't return a value, a C_NOP value is pushed instead (avoids stack corruption) - op_add merged with op_2+op_2num/op2_str - better type checking in the operators, int/string is never assumed. The script ends when an invalid type is found. - other minor code cleanups Changes made in consequence of: Ref: http://www.eathena.ws/board/index.php?s=&showtopic=149237&view=findpost&p=823195 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10379 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
0 files changed, 0 insertions, 0 deletions