summaryrefslogtreecommitdiff
path: root/src/map/pcre.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 01:49:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 01:49:28 +0000
commit8e8f16147f2fd1b06ffd596a32beaa7d26fc32aa (patch)
tree8c40b5d049b3bd9e823fea6ad44be9127e1bffef /src/map/pcre.h
parentd32e2b4c2c8f40f9acd6b88a45729010d758b118 (diff)
downloadhercules-8e8f16147f2fd1b06ffd596a32beaa7d26fc32aa.tar.gz
hercules-8e8f16147f2fd1b06ffd596a32beaa7d26fc32aa.tar.bz2
hercules-8e8f16147f2fd1b06ffd596a32beaa7d26fc32aa.tar.xz
hercules-8e8f16147f2fd1b06ffd596a32beaa7d26fc32aa.zip
Cleaned up the script engine's get_val() function
- changed the long if-spaghetti into a compact switch statement - changed its behavior so that it exits if !sd and it requires one - upon exiting, it will now ensure that meaningful values get returned (the old code would return random memory / crash) - removed many !sd checks since they are done at the beginning now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9812 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pcre.h')
0 files changed, 0 insertions, 0 deletions