[Dunno] Got to commit to pull changes.
This commit is contained in:
		
							parent
							
								
									307800e02f
								
							
						
					
					
						commit
						6c56311c86
					
				@ -420,7 +420,7 @@ void Game::SaveSavegame(void) {
 | 
				
			|||||||
  TiXmlElement* saveElement = new TiXmlElement("save");
 | 
					  TiXmlElement* saveElement = new TiXmlElement("save");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  TiXmlElement* nameElement = new TiXmlElement("name");
 | 
					  TiXmlElement* nameElement = new TiXmlElement("name");
 | 
				
			||||||
  TiXmlText* nameText = new TiXmlText("Allanis"); //TODO: replace with _player->GetName() when it works. --konom
 | 
					  TiXmlText* nameText = new TiXmlText("Allanis"); //TODO: replace with _player->GetName() when it works.
 | 
				
			||||||
  nameElement->LinkEndChild(nameText);
 | 
					  nameElement->LinkEndChild(nameText);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /*
 | 
					  /*
 | 
				
			||||||
 | 
				
			|||||||
@ -277,7 +277,7 @@ void DumpLeakSnapshot(bool fromStart) {
 | 
				
			|||||||
      AllocationLink* currentLink = hashMap[i].first;
 | 
					      AllocationLink* currentLink = hashMap[i].first;
 | 
				
			||||||
      while(currentLink != 0) {
 | 
					      while(currentLink != 0) {
 | 
				
			||||||
        if(!currentLink->allocationUnit->markedSnapshot || fromStart) {
 | 
					        if(!currentLink->allocationUnit->markedSnapshot || fromStart) {
 | 
				
			||||||
          //if(strcmp(currentLink->allocationUnit->allocatedFrom, "(???: line 0)") != 0)
 | 
					          //if(strcmp(currentLink->allocationUnit->allocatedFrom, "(???: line 0)") != 0) {
 | 
				
			||||||
          if(!strstr(currentLink->allocationUnit->allocatedFrom, "???")) {
 | 
					          if(!strstr(currentLink->allocationUnit->allocatedFrom, "???")) {
 | 
				
			||||||
            // Temp: show only over 2MB
 | 
					            // Temp: show only over 2MB
 | 
				
			||||||
            //if(currentLink->allocationUnit->requestedSize > 1*1024*1024) {
 | 
					            //if(currentLink->allocationUnit->requestedSize > 1*1024*1024) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user