Erwan
- removed some unused code. Please review! - Added protection from() auto keyword. It is still possible to use protection from [color] in abilities, but when it is not possible, please use protection from([target]) in auto=
This commit is contained in:
@@ -90,13 +90,6 @@ DuelLayers::~DuelLayers(){
|
||||
Trash::cleanup();
|
||||
}
|
||||
|
||||
int DuelLayers::unstoppableRenderInProgress(){
|
||||
for (int i = 0; i < nbitems; ++i)
|
||||
if (objects[i]->unstoppableRenderInProgress())
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DuelLayers::Add(GuiLayer * layer){
|
||||
objects.push_back(layer);
|
||||
nbitems++;
|
||||
|
||||
Reference in New Issue
Block a user