mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 08:46:09 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -254,7 +254,6 @@ public:
|
||||
else
|
||||
return 0xFFFFFFFFFFFFFFFFuLL;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
// Adt file min/max height chunk
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
DBCFile::DBCFile(std::string filename):
|
||||
filename(std::move(filename)), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool DBCFile::open()
|
||||
|
||||
@@ -77,7 +77,6 @@ MPQFile::MPQFile(const char* filename):
|
||||
libmpq__file_read(mpq_a, filenum, (unsigned char*)buffer, size, &transferred);
|
||||
/*libmpq_file_getdata(&mpq_a, hash, fileno, (unsigned char*)buffer);*/
|
||||
return;
|
||||
|
||||
}
|
||||
eof = true;
|
||||
buffer = nullptr;
|
||||
|
||||
@@ -19,7 +19,6 @@ using namespace std;
|
||||
|
||||
class MPQArchive
|
||||
{
|
||||
|
||||
public:
|
||||
mpq_archive_s* mpq_a;
|
||||
|
||||
|
||||
@@ -72,7 +72,6 @@ MPQFile::MPQFile(const char* filename):
|
||||
libmpq__file_read(mpq_a, filenum, (unsigned char*)buffer, size, &transferred);
|
||||
/*libmpq_file_getdata(&mpq_a, hash, fileno, (unsigned char*)buffer);*/
|
||||
return;
|
||||
|
||||
}
|
||||
eof = true;
|
||||
buffer = 0;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
class MPQArchive
|
||||
{
|
||||
|
||||
public:
|
||||
mpq_archive_s* mpq_a;
|
||||
|
||||
|
||||
@@ -344,7 +344,6 @@ void ModelHeader::Read(FILE* stream)
|
||||
|
||||
if (count != 51)
|
||||
printf("ModelHeader::Read: Failed to read some data expected 51, read %d\n", count);
|
||||
|
||||
}
|
||||
|
||||
WorldModelHeader WorldModelHeader::Read(FILE* stream)
|
||||
|
||||
@@ -53,7 +53,6 @@ void WDT::ReadTileTable()
|
||||
|
||||
if (flags & hasTileFlag)
|
||||
TileTable.push_back(TilePos(x, y));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,7 +151,6 @@ void WorldModelHandler::InsertModelGeometry( std::vector<Vector3>& verts, std::v
|
||||
{
|
||||
for (uint32 x = 0; x < liquidHeader.Width; x++)
|
||||
{
|
||||
|
||||
if (!liquidDataGeometry.ShouldRender(x, y))
|
||||
continue;
|
||||
|
||||
@@ -173,7 +172,6 @@ void WorldModelHandler::InsertModelGeometry( std::vector<Vector3>& verts, std::v
|
||||
|
||||
tris.push_back(Triangle<uint32>(Constants::TRIANGLE_TYPE_WATER, vertOffset, vertOffset + 2, vertOffset + 1));
|
||||
tris.push_back(Triangle<uint32>(Constants::TRIANGLE_TYPE_WATER, vertOffset + 2, vertOffset + 3, vertOffset + 1));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -593,7 +593,6 @@ namespace MMAP
|
||||
| \|
|
||||
258---259 ... 515
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
@@ -938,7 +937,6 @@ namespace MMAP
|
||||
meshData.offMeshConnectionsAreas.append((unsigned char)0xFF);
|
||||
meshData.offMeshConnectionsFlags.append((unsigned short)0xFF); // all movement masks can make this path
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
delete [] buf;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
DBCFile::DBCFile(std::string filename):
|
||||
filename(std::move(filename)), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(nullptr), stringTable(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool DBCFile::open()
|
||||
|
||||
@@ -49,7 +49,6 @@ public:
|
||||
|
||||
ModelInstance() {}
|
||||
ModelInstance(MPQFile& f, char const* ModelInstName, uint32 mapID, uint32 tileX, uint32 tileY, FILE* pDirfile);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,6 @@ MPQFile::MPQFile(const char* filename):
|
||||
libmpq__file_read(mpq_a, filenum, (unsigned char*)buffer, size, &transferred);
|
||||
/*libmpq_file_getdata(&mpq_a, hash, fileno, (unsigned char*)buffer);*/
|
||||
return;
|
||||
|
||||
}
|
||||
eof = true;
|
||||
buffer = nullptr;
|
||||
|
||||
@@ -19,7 +19,6 @@ using namespace std;
|
||||
|
||||
class MPQArchive
|
||||
{
|
||||
|
||||
public:
|
||||
mpq_archive_s* mpq_a;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user