- added a dirty cache flag when a unit dies
This commit is contained in:
parent
3f393fd37d
commit
793ac7a8cb
|
@ -282,6 +282,12 @@ Unit::~Unit(){
|
||||||
|
|
||||||
delete this->unitPath;
|
delete this->unitPath;
|
||||||
this->unitPath = NULL;
|
this->unitPath = NULL;
|
||||||
|
|
||||||
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
|
Renderer &renderer= Renderer::getInstance();
|
||||||
|
renderer.setQuadCacheDirty(true);
|
||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue