- itemnumber[n] = thisdrop->itemnum;
- itemtype[n] = thisdrop->itemtype;
- //probability[n] = thisdrop->prob;
- alternate[n][0] = 0;
- for(int i=1;i<8;i++)
- {
- alternate[n][i] = thisdrop->alt[i];
- }
PurpleYouko wrote:It's always best to protect against people tampering with stuff i guess.
I will add some checks for the next revision.
In fact you're using (like us) a <vector> and an array. Array beeing for index and often this one causes problems
You should look how we handle it in osrose (dev rev) since I did some checks for those kind of stuffs (all that use index array) and I used defines so you just need to change one line to expand an array.