TempusMUD / Tempuscode

Codebase for TempusMUD
http://tempusmud.com/
Other
7 stars 6 forks source link

Properly apply pc hunger #426

Closed mikeclemson closed 10 years ago

mikeclemson commented 10 years ago

PCs don't gain hunger from point_update in gain_condition because of a bad conditional that didn't get caught in my testing. This fixes it, plus allows cyborgs to gain hunger more reliably. The minor edit to xml.c wasn't noticed since the entire page is commented out, but the original read: GET_COND(mob, 0) = GET_COND(mob, 1) = GET_COND(mob, 2) = -1;