Pages:<< prev 1 next >>
#1 Mar 29, 2021 12:07 pm
Last edited Mar 29, 2021 12:08 pm by Matteo2303
GroupMembers
Posts86
JoinedAug 25, 2003
Hi,
"morph" and "nuisance" ifcheck in mud_prog.c use rhsvl that is always 0.
Example: return mprog_veval( chkchar->morph->morph->vnum, opr, rhsvl, mob );
Fix: return mprog_veval( chkchar->morph->morph->vnum, opr, atoi(rval), mob );
bye
"morph" and "nuisance" ifcheck in mud_prog.c use rhsvl that is always 0.
Example: return mprog_veval( chkchar->morph->morph->vnum, opr, rhsvl, mob );
Fix: return mprog_veval( chkchar->morph->morph->vnum, opr, atoi(rval), mob );
bye
#2 Apr 17, 2021 3:02 pm
GroupMembers
Posts423
JoinedMar 7, 2005
Nice catch. Thanks for sharing this!
Pages:<< prev 1 next >>