[Bug] Numattacks doesn't initialize properly.
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Jan 2, 2009 1:03 pm
Last edited Jan 2, 2009 5:51 pm by Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Bug: Numattacks aren't initialized properly when making mobiles.
Danger: Low, numattacks aren't initialized properly when mobs are first created.
Found by: Kayle/Samsa
Fixed by: Several
---
db.c
MOB_INDEX_DATA *make_mobile( int vnum, int cvnum, const char *name )
Find:
Change to:
Danger: Low, numattacks aren't initialized properly when mobs are first created.
Found by: Kayle/Samsa
Fixed by: Several
---
db.c
MOB_INDEX_DATA *make_mobile( int vnum, int cvnum, const char *name )
Find:
pMobIndex->numattacks = 0;
Change to:
pMobIndex->numattacks = 1;
Pages:<< prev 1 next >>