summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-25 18:05:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-25 18:05:40 +0000
commite7153a55c1392f478faa0522c7f62ded1c115b3a (patch)
tree5b694367c254201d171fa9155db5d2ad7cebd793 /src/map/npc.c
parent1d675068f04afe6ab0829e99a32d0179c5183431 (diff)
downloadhercules-e7153a55c1392f478faa0522c7f62ded1c115b3a.tar.gz
hercules-e7153a55c1392f478faa0522c7f62ded1c115b3a.tar.bz2
hercules-e7153a55c1392f478faa0522c7f62ded1c115b3a.tar.xz
hercules-e7153a55c1392f478faa0522c7f62ded1c115b3a.zip
- Modified and simplified the random item group format. It now is <GroupID>,<ItemID>,<Rate>, where Rate normally is 1, greater numbers is the equivalent of adding the line multiple times.
- Added constants to identify all groups to db/const.txt - Cleaned up and updated item_db to use these new constants (warning: item_db.sql needs to be updated!) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6275 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 8f1445838..857c5963d 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -744,8 +744,6 @@ void npc_timerevent_quit(struct map_session_data *sd) {
int npc_gettimerevent_tick(struct npc_data *nd)
{
int tick;
- struct map_session_data *sd =NULL;
-
nullpo_retr(0, nd);
tick=nd->u.scr.timer;