mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 17:09:40 +00:00
Feature #161 (In Progress) Load REC_PGRD records
Point coords definitely not floats
This commit is contained in:
parent
40e07bbd2a
commit
e58e00ef2a
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ void PathGrid::load(ESMReader &esm)
|
|||
{
|
||||
edgeCount = size / sizeof(Edge);
|
||||
std::cout << "Path grid edge count for cell " << data.x
|
||||
<< " " << data.y << " is " << size << std::endl;
|
||||
<< " " << data.y << " is " << edgeCount << std::endl;
|
||||
edges = new Edge[edgeCount];
|
||||
esm.getExact(edges, size);
|
||||
for (int i = 0; i < edgeCount; ++i)
|
||||
|
|
|
@ -22,7 +22,7 @@ struct PathGrid
|
|||
#pragma pack(push, 1)
|
||||
struct Point // path grid point
|
||||
{
|
||||
float x, y, z; // Location of point
|
||||
int x, y, z; // Location of point
|
||||
int unknown; // Possibly flag for coloring/user-placed vs auto-generated
|
||||
}; // 16 bytes
|
||||
|
||||
|
|
Loading…
Reference in a new issue