mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 14:36:40 -04:00
[Client] Prevent DedicatedPlayer from spawning on ground from 0 fatigue
This commit is contained in:
parent
fb34e2c4ba
commit
586a7f6656
@ -113,6 +113,10 @@ void Players::createPlayer(RakNet::RakNetGUID guid)
|
||||
dedicPlayer->guid = guid;
|
||||
dedicPlayer->state = 2;
|
||||
|
||||
// Give this new character a fatigue of at least 1 so it doesn't spawn
|
||||
// on the ground
|
||||
dedicPlayer->creatureStats.mDynamic[2].mBase = 1;
|
||||
|
||||
world->enable(players[guid]->ptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user