Skip to content

Commit

Permalink
Mesh: Add support for uncompressed .fts files
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Sep 17, 2022
1 parent 8ea38ff commit 2d22269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Modding:
* Added support for level numbers above 27
* Added support for script event parameters above 3 (e.g. ^$param4)
* Added support for having more than 20 spells active
* Added support for uncompressed .fts files
* Added the ^angleto_… system variable returning the the direction to another entity
* Added the ^caster* system variable to get the caster of the given spell or summoned entity
* Added the ^class* system variable to get the class name of the given entity or spell
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/data/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ bool FastSceneLoad(const res::path & partial_path, Vec3f & trans) {
progressBarAdvance();
LoadLevelScreen();

{
if(uncompressedSize) {
buffer = blast(std::string_view(data, end - data), uncompressedSize);
if(buffer.empty()) {
LogError << "Error decompressing scene data in " << file;
Expand Down

0 comments on commit 2d22269

Please sign in to comment.