mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 19:51:45 +02:00
Merge pull request #128 from mniip/dropper-debug
fix dropper debug printing
This commit is contained in:
@@ -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