equal
deleted
inserted
replaced
392 5: SelectTemplate:= WackyTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
392 5: SelectTemplate:= WackyTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
393 // For lua only! |
393 // For lua only! |
394 6: begin |
394 6: begin |
395 SelectTemplate:= min(LuaTemplateNumber,High(EdgeTemplates)); |
395 SelectTemplate:= min(LuaTemplateNumber,High(EdgeTemplates)); |
396 GetRandom(2) // burn 1 |
396 GetRandom(2) // burn 1 |
397 end; |
397 end |
398 end |
398 end |
399 end; |
399 end; |
400 |
400 |
401 WriteLnToConsole('Selected template #'+inttostr(SelectTemplate)+' using filter #'+inttostr(cTemplateFilter)); |
401 WriteLnToConsole('Selected template #'+inttostr(SelectTemplate)+' using filter #'+inttostr(cTemplateFilter)); |
402 end; |
402 end; |