forked from mirror/openmw-tes3mp
Forced some function arguments to take in a specific array size
This commit is contained in:
parent
598221a8e7
commit
77d365e196
2 changed files with 4 additions and 4 deletions
|
@ -8,13 +8,13 @@ namespace ESM
|
|||
{
|
||||
unsigned int Pathgrid::sRecordId = REC_PGRD;
|
||||
|
||||
Pathgrid::Point& Pathgrid::Point::operator=(const float rhs[]) {
|
||||
Pathgrid::Point& Pathgrid::Point::operator=(const float rhs[3]) {
|
||||
mX = rhs[0];
|
||||
mY = rhs[1];
|
||||
mZ = rhs[2];
|
||||
return *this;
|
||||
}
|
||||
Pathgrid::Point::Point(const float rhs[]) {
|
||||
Pathgrid::Point::Point(const float rhs[3]) {
|
||||
mX = rhs[0];
|
||||
mY = rhs[1];
|
||||
mZ = rhs[2];
|
||||
|
|
|
@ -31,8 +31,8 @@ struct Pathgrid
|
|||
unsigned char mAutogenerated; // autogenerated vs. user coloring flag?
|
||||
unsigned char mConnectionNum; // number of connections for this point
|
||||
short mUnknown;
|
||||
Point& operator=(const float[]);
|
||||
Point(const float[]);
|
||||
Point& operator=(const float[3]);
|
||||
Point(const float[3]);
|
||||
Point();
|
||||
}; // 16 bytes
|
||||
|
||||
|
|
Loading…
Reference in a new issue