… | … | ||
---|---|---|---|
1797 | maxgrace = 15 | 1797 | maxgrace = 15 |
1798 | food = 16 | 1798 | food = 16 |
1799 | dam = 17 | 1799 | dam = 17 |
1800 | luck = 18 | 1800 | luck = 18 |
1801 | CODE: | 1801 | CODE: |
1802 | # define LIVING_ACC(acc,idx) case idx: RETVAL = liv->acc; if (ix > 1) liv->acc = new_val; break | 1802 | # define LIVING_ACC(acc,idx) case idx: RETVAL = liv->acc; if (items > 1) liv->acc = new_val; break |
1803 | switch (ix) | 1803 | switch (ix) |
1804 | { | 1804 | { |
1805 | LIVING_ACC (exp , 0); | 1805 | LIVING_ACC (exp , 0); |
1806 | LIVING_ACC (Str , 1); | 1806 | LIVING_ACC (Str , 1); |
1807 | LIVING_ACC (Dex , 2); | 1807 | LIVING_ACC (Dex , 2); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |