16.11.2011, 15:46
your enum initialisation should look like this:
...you added something into the turfs[], and forgot to change its specifications in the enum, and/or
MAX_TURFS you need to set the amount as big as the flields amount. here its:
the enum example above was derived by counting and defining your data, compare it to yours, youll find the issue
Код:
enum tinfo{ integer, name[32], Float, Float, Float, Float, Int, Int, Int, Int, Int, Int, Int }
MAX_TURFS you need to set the amount as big as the flields amount. here its:
Код:
#define MAX_TURFS 3 //or new MAX_TURFS=3;//however you declared it