fixed dropper debug printing
This commit is contained in:
parent
ada7c7bb11
commit
f9017bc7bb
@ -513,7 +513,9 @@ Menu * GameModel::GetActiveMenu()
|
|||||||
|
|
||||||
Tool * GameModel::GetElementTool(int elementID)
|
Tool * GameModel::GetElementTool(int elementID)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
std::cout << elementID << std::endl;
|
std::cout << elementID << std::endl;
|
||||||
|
#endif
|
||||||
for(std::vector<Tool*>::iterator iter = elementTools.begin(), end = elementTools.end(); iter != end; ++iter)
|
for(std::vector<Tool*>::iterator iter = elementTools.begin(), end = elementTools.end(); iter != end; ++iter)
|
||||||
{
|
{
|
||||||
if((*iter)->GetToolID() == elementID)
|
if((*iter)->GetToolID() == elementID)
|
||||||
|
Reference in New Issue
Block a user