That worked, thanks.
A final thing, before this is top dollar. I would like race giant to have used 3:
Code:
if (GET_RACE(ch) == RACE_GIANT) {
int used = 3;
} else {
int used = 2;
}
But then i get error, and suddently used is unused, and further Down undeclared:
act.item.c: In function ‘free_hands’:
act.item.c:53: warning: unused variable ‘used’
act.item.c:55: warning: unused variable ‘used’
act.item.c:57: error: ‘used’ undeclared (first use in this function)
act.item.c:57: error: (Each undeclared identifier is reported only once
act.item.c:57: error: for each function it appears in.)
make[1]: *** [act.item.o] Error 1
Merry Christmas to all