mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
fix to prevent selecting units and resources ( like trees) at once
This commit is contained in:
parent
7c59a00416
commit
6880b06152
@ -5314,7 +5314,7 @@ void Renderer::renderSelectionEffects() {
|
||||
}
|
||||
|
||||
}
|
||||
if(selectedResourceObject!=NULL)
|
||||
if(selectedResourceObject!=NULL && selection->getCount()<1)
|
||||
{
|
||||
Resource *r= selectedResourceObject->getResource();
|
||||
int defaultValue= r->getType()->getDefResPerPatch();
|
||||
|
Loading…
x
Reference in New Issue
Block a user