equal
deleted
inserted
replaced
312 dec(l, TemplateCounts[cTemplateFilter]); |
312 dec(l, TemplateCounts[cTemplateFilter]); |
313 until l < 0; |
313 until l < 0; |
314 end else getRandom(1); |
314 end else getRandom(1); |
315 |
315 |
316 case cTemplateFilter of |
316 case cTemplateFilter of |
317 0: OutError('Ask unC0Rr about what you did wrong', true); |
317 0: OutError('Error selecting TemplateFilter. Ask unC0Rr about what you did wrong', true); |
318 1: SelectTemplate:= SmallTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
318 1: SelectTemplate:= SmallTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
319 2: SelectTemplate:= MediumTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
319 2: SelectTemplate:= MediumTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
320 3: SelectTemplate:= LargeTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
320 3: SelectTemplate:= LargeTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
321 4: SelectTemplate:= CavernTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
321 4: SelectTemplate:= CavernTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
322 5: SelectTemplate:= WackyTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |
322 5: SelectTemplate:= WackyTemplates[getrandom(TemplateCounts[cTemplateFilter])]; |