mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix deserialization of ItemDefinition (#5995)
This commit is contained in:
parent
212945c7a3
commit
49d6e5f4ab
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ void ItemDefinition::deSerialize(std::istream &is)
|
|||
sound_place.name = deSerializeString(is);
|
||||
sound_place.gain = readF1000(is);
|
||||
}
|
||||
if(version == 3) {
|
||||
if(version >= 3) {
|
||||
range = readF1000(is);
|
||||
}
|
||||
// If you add anything here, insert it primarily inside the try-catch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue