From 5c71ebcf0e6e3d9bb155f649d442a62b98c54d53 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Thu, 31 Oct 2013 19:45:03 +0000 Subject: [PATCH] check if this fixes techtree name bug --- source/glest_game/types/tech_tree.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/types/tech_tree.cpp b/source/glest_game/types/tech_tree.cpp index 15bb7783..46eded71 100644 --- a/source/glest_game/types/tech_tree.cpp +++ b/source/glest_game/types/tech_tree.cpp @@ -102,7 +102,8 @@ string TechTree::getTranslatedName(string techName, bool forceLoad, bool forceTe result = getName(true); - translatedTechNames[techName] = result; + printf("techName [%s] name [%s] result [%s]\n",techName.c_str(),name.c_str(),result.c_str()); + translatedTechNames[name] = result; } }