forked from 0ad/0ad
Extra fixes
This was SVN commit r4731.
This commit is contained in:
parent
ebfd7910cf
commit
15e7bae0ba
@ -57,7 +57,7 @@ CTextureEntry* CTextureManager::FindTexture(CStr tag)
|
||||
return m_TextureEntries[i];
|
||||
}
|
||||
|
||||
LOG(WARNING, LOG_CATEGORY, "TextureManager: Couldn't find terrain %s\n", tag.c_str());
|
||||
LOG(WARNING, LOG_CATEGORY, "TextureManager: Couldn't find terrain %s", tag.c_str());
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -126,7 +126,7 @@ void CTextureManager::LoadTextures(CTerrainPropertiesPtr props, const char* dir)
|
||||
{
|
||||
myprops = GetPropertiesFromFile(props, xml_name);
|
||||
if (myprops)
|
||||
LOG(NORMAL, LOG_CATEGORY, "CTextureManager: Successfully loaded override xml %s for texture %s\n", xml_name, texture_name);
|
||||
LOG(NORMAL, LOG_CATEGORY, "CTextureManager: Successfully loaded override xml %s for texture %s", xml_name, texture_name);
|
||||
}
|
||||
|
||||
// Error or non-existant xml file -> use parent props
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
u8 buf[4];
|
||||
TS_ASSERT_OK(da_read(&da, buf, 4));
|
||||
TS_ASSERT_EQUALS(read_le32(buf), 0x78563412); // read correct value
|
||||
debug_skip_next_err(ERR::IO_EOF);
|
||||
debug_skip_next_err(ERR::FAIL);
|
||||
TS_ASSERT(da_read(&da, buf, 1) < 0); // no more data left
|
||||
TS_ASSERT_OK(da_free(&da));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user