diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index a3d2aca1..a540037f 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -4638,7 +4638,7 @@ int glestMain(int argc, char** argv) { if(hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_LUA_DEBUG]) == true) { printf("Forcing LUA debugging enabled!\n"); - config.setBool("DebugLUA","true", true); + config.setBool("DebugLUA",true, true); } // Setup debug logging etc diff --git a/source/glest_game/types/unit_type.cpp b/source/glest_game/types/unit_type.cpp index f9aa117e..846a4a9e 100644 --- a/source/glest_game/types/unit_type.cpp +++ b/source/glest_game/types/unit_type.cpp @@ -129,6 +129,7 @@ UnitType::UnitType() : ProducibleType() { armor=0; sight=0; size=0; + renderSize=0; height=0; addItemToVault(&(this->maxHp),this->maxHp);