diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-10 19:26:56 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-10 19:26:56 +0000 |
commit | 045c123351a3ed8596799d57ae79165e76ed771a (patch) | |
tree | 5022a228eac1777297c752e49b6c0a65f3fe235a /src/map/npc.c | |
parent | 269c643607bb5ef99141928971e6bac98e3095ed (diff) | |
download | hercules-045c123351a3ed8596799d57ae79165e76ed771a.tar.gz hercules-045c123351a3ed8596799d57ae79165e76ed771a.tar.bz2 hercules-045c123351a3ed8596799d57ae79165e76ed771a.tar.xz hercules-045c123351a3ed8596799d57ae79165e76ed771a.zip |
- Added a few dummy times in skill_cast_db for some GS skills.
- Autoskills now won't trigger on maps where said skill are not allowed.
- Some compilation warning fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5565 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 7ba8be5d5..276d615be 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -441,7 +441,7 @@ int npc_addeventtimer(struct npc_data *nd,int tick,const char *name) if( nd->eventtimer[i]==-1 )
break;
if(i<MAX_EVENTTIMER){
- if (!strdb_get(ev_db,name)) {
+ if (!strdb_get(ev_db,(unsigned char*)name)) {
if (battle_config.error_log)
ShowError("npc_addeventimer: Event %s does not exists.\n", name);
return 1; //Event does not exists!
|