mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 11:19:48 +02:00
- fixed some bugs reported by coverity
This commit is contained in:
@@ -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
|
||||
|
@@ -129,6 +129,7 @@ UnitType::UnitType() : ProducibleType() {
|
||||
armor=0;
|
||||
sight=0;
|
||||
size=0;
|
||||
renderSize=0;
|
||||
height=0;
|
||||
|
||||
addItemToVault(&(this->maxHp),this->maxHp);
|
||||
|
Reference in New Issue
Block a user