forked from teamnwah/openmw-tes3coop
[General] Add weather struct and packet
This commit is contained in:
parent
aff1859759
commit
1ef6ad6215
2 changed files with 7 additions and 1 deletions
|
@ -288,6 +288,12 @@ namespace mwmp
|
|||
unsigned int resurrectType;
|
||||
|
||||
bool diedSinceArrestAttempt;
|
||||
|
||||
struct
|
||||
{
|
||||
int currentWeather, nextWeather;
|
||||
float updateTime, transitionFactor;
|
||||
} weather;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -13,5 +13,5 @@ void PacketGameWeather::Packet(RakNet::BitStream *bs, bool send)
|
|||
{
|
||||
PlayerPacket::Packet(bs, send);
|
||||
|
||||
// Placeholder to be filled in later
|
||||
RW(player->weather, send);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue