Fix spell properties incorrectly being capped at 8
Fixes #3187 Revert #3021 destParam3 had been typed ad Direction, but is also sometimes used for other values.
This commit is contained in:
parent
e2a55aa9f5
commit
96e1d5caba
4 changed files with 8 additions and 12 deletions
|
|
@ -309,7 +309,7 @@ void LoadPlayer(LoadHelper &file, Player &player)
|
|||
player.destAction = static_cast<action_id>(file.NextLE<int32_t>());
|
||||
player.destParam1 = file.NextLE<int32_t>();
|
||||
player.destParam2 = file.NextLE<int32_t>();
|
||||
player.destParam3 = static_cast<Direction>(file.NextLE<int32_t>());
|
||||
player.destParam3 = file.NextLE<int32_t>();
|
||||
player.destParam4 = file.NextLE<int32_t>();
|
||||
player.plrlevel = file.NextLE<uint32_t>();
|
||||
player.position.tile.x = file.NextLE<int32_t>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue