forked from mirror/openmw-tes3mp
[General] Change type of MpNum to "unsigned int"
This commit is contained in:
parent
779f2a564d
commit
895634cd16
3 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ namespace MWWorld
|
||||||
|
|
||||||
Get the mMpNum (unique multiplayer reference number) of a CellRef
|
Get the mMpNum (unique multiplayer reference number) of a CellRef
|
||||||
*/
|
*/
|
||||||
int CellRef::getMpNum() const
|
unsigned int CellRef::getMpNum() const
|
||||||
{
|
{
|
||||||
return mCellRef.mMpNum;
|
return mCellRef.mMpNum;
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ namespace MWWorld
|
||||||
|
|
||||||
Set the mMpNum (unique multiplayer reference number) of a CellRef
|
Set the mMpNum (unique multiplayer reference number) of a CellRef
|
||||||
*/
|
*/
|
||||||
void CellRef::setMpNum(int index)
|
void CellRef::setMpNum(unsigned int index)
|
||||||
{
|
{
|
||||||
mCellRef.mMpNum = index;
|
mCellRef.mMpNum = index;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace MWWorld
|
||||||
|
|
||||||
Get the mMpNum (unique multiplayer reference number) of a CellRef
|
Get the mMpNum (unique multiplayer reference number) of a CellRef
|
||||||
*/
|
*/
|
||||||
int getMpNum() const;
|
unsigned int getMpNum() const;
|
||||||
/*
|
/*
|
||||||
End of tes3mp addition
|
End of tes3mp addition
|
||||||
*/
|
*/
|
||||||
|
@ -43,7 +43,7 @@ namespace MWWorld
|
||||||
|
|
||||||
Set the mMpNum (unique multiplayer reference number) of a CellRef
|
Set the mMpNum (unique multiplayer reference number) of a CellRef
|
||||||
*/
|
*/
|
||||||
void setMpNum(int index);
|
void setMpNum(unsigned int index);
|
||||||
/*
|
/*
|
||||||
End of tes3mp addition
|
End of tes3mp addition
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace ESM
|
||||||
|
|
||||||
Keep track of a multiplayer-only number unique to this object
|
Keep track of a multiplayer-only number unique to this object
|
||||||
*/
|
*/
|
||||||
int mMpNum;
|
unsigned int mMpNum;
|
||||||
/*
|
/*
|
||||||
End of tes3mp addition
|
End of tes3mp addition
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue