summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-09 22:42:56 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-09 22:42:56 +0000
commitf3753f1cd474a84748b88991f74bcaa4f590f4ff (patch)
tree4e0f2fae76761e1b7e267f81f946f68da28b1f2a /src/map/script.h
parentb397f7c6615f68f044100168eeaf157f6c60227c (diff)
downloadhercules-f3753f1cd474a84748b88991f74bcaa4f590f4ff.tar.gz
hercules-f3753f1cd474a84748b88991f74bcaa4f590f4ff.tar.bz2
hercules-f3753f1cd474a84748b88991f74bcaa4f590f4ff.tar.xz
hercules-f3753f1cd474a84748b88991f74bcaa4f590f4ff.zip
Replaced several 'int' variables with enums that they represent.
Expanded weapon_type enum with dual-wield constants (bugreport:384). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11704 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 709577c6d..46a2b2910 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -26,7 +26,7 @@ extern struct Script_Config {
} script_config;
struct script_data {
- int type;
+ enum c_op type;
union script_data_val {
int num;
char *str;