in sculptmode.c move initalization of a var to fix an issue where index of array could be -1. Found by coverity. Kent