1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Minor compile fix, std::copy used that way overwrites original bonuses [but the code won't be needed anyway]

This commit is contained in:
Michał W. Urbańczyk
2011-02-09 12:33:58 +00:00
parent 72c30df16a
commit 9f21e4b46f
2 changed files with 8 additions and 8 deletions

View File

@ -195,7 +195,7 @@ void CDefFile::loadFrame(size_t frame, size_t group, ImageLoader &loader) const
case 1:
{
//for each line we have offset of pixel data
const ui32 * RWEntriesLoc = reinterpret_cast<const unsigned int *>(FDef+currentOffset);
const ui32 * RWEntriesLoc = reinterpret_cast<const ui32 *>(FDef+currentOffset);
currentOffset += sizeof(ui32) * sprite.height;
for (unsigned int i=0; i<sprite.height; i++)