kartspeed and kartweight not being set from a resynch

This commit is contained in:
Sryder 2017-03-06 16:05:02 +00:00
parent 75ba41a8cf
commit 1970f4f280
1 changed files with 3 additions and 0 deletions

View File

@ -664,6 +664,9 @@ static void resynch_read_player(resynch_pak *rsp)
players[i].skin = LONG(rsp->skin);
// Just in case Lua does something like
// modify these at runtime
players[i].kartspeed = (fixed_t)LONG(rsp->kartspeed);
players[i].kartweight = (fixed_t)LONG(rsp->kartweight);
players[i].normalspeed = (fixed_t)LONG(rsp->normalspeed);
players[i].runspeed = (fixed_t)LONG(rsp->runspeed);
players[i].thrustfactor = rsp->thrustfactor;