summaryrefslogtreecommitdiff
path: root/src/map/homunculus.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-03 19:37:09 +0300
committerGitHub <noreply@github.com>2016-12-03 19:37:09 +0300
commite1453434af18b30119114077dfc52d27ad196cef (patch)
tree7f342a4bf53777ed740ce6600b0272bb09386e55 /src/map/homunculus.c
parent17420ee563282ba1791a77c55ede9d8f5f504ae5 (diff)
parent2150e64f1df5f5586274a1fde49029c4444db641 (diff)
downloadhercules-e1453434af18b30119114077dfc52d27ad196cef.tar.gz
hercules-e1453434af18b30119114077dfc52d27ad196cef.tar.bz2
hercules-e1453434af18b30119114077dfc52d27ad196cef.tar.xz
hercules-e1453434af18b30119114077dfc52d27ad196cef.zip
Merge pull request #1522 from HerculesWS/jobclass-mapid-cleanup
Job Class vs Job MapID cleanup
Diffstat (limited to 'src/map/homunculus.c')
-rw-r--r--src/map/homunculus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c
index cc920b888..91a455416 100644
--- a/src/map/homunculus.c
+++ b/src/map/homunculus.c
@@ -1350,7 +1350,7 @@ void do_init_homunculus(bool minimal) {
//Stock view data for homuncs
memset(homun->dbs->viewdb, 0, sizeof(homun->dbs->viewdb));
for (class_ = 0; class_ < MAX_HOMUNCULUS_CLASS; class_++)
- homun->dbs->viewdb[class_].class_ = HM_CLASS_BASE+class_;
+ homun->dbs->viewdb[class_].class = HM_CLASS_BASE + class_;
}
void do_final_homunculus(void) {