(10.10.2020 03:34)Bes Wrote: Знает кто, каков предел номеров для использования под бродячих монстров?
#define WOMONUM 1000 static int FindWM(int x,int y, int l) { #include "templ.h" int i; _WoMo_ *wmp; for(i=0;i<WOMONUM;i++){ wmp=&WoMo[i]; if(wmp->ToDo==WM_NOTUSED) continue; if((wmp->x==(Byte)x)&&(wmp->y==(Byte)y)&&(wmp->l==(Byte)l)) RETURN(i) } RETURN(-1) }