summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-17 00:06:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-25 14:49:04 +0300
commit79ab58428bfde461fb4fa92418624982f181d036 (patch)
treeeb7f99c839dd74b9769bc47ef9759b8665f81853 /src/map/status.c
parenta929202e304d2cd3d5873272ea5ecb6a0371e314 (diff)
downloadhercules-79ab58428bfde461fb4fa92418624982f181d036.tar.gz
hercules-79ab58428bfde461fb4fa92418624982f181d036.tar.bz2
hercules-79ab58428bfde461fb4fa92418624982f181d036.tar.xz
hercules-79ab58428bfde461fb4fa92418624982f181d036.zip
Reduce memory usage in HPM in skill.c
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index d88bcf146..7af887f81 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -10870,7 +10870,7 @@ int status_change_timer(int tid, int64 tick, int id, intptr_t data) {
unit->skillcastcancel(bl,0);
do {
int i = rnd() % MAX_SKILL_MAGICMUSHROOM_DB;
- mushroom_skill_id = skill->magicmushroom_db[i].skill_id;
+ mushroom_skill_id = skill->dbs->magicmushroom_db[i].skill_id;
} while (mushroom_skill_id == 0);
switch( skill->get_casttype(mushroom_skill_id) ) { // Magic Mushroom skills are buffs or area damage