mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
7f71b169ddd6dc09f08063001dcc0a07b2fdb0a6
When appending submodels would take the combined POF past MAX_MODEL_TEXTURES, the limit was only noticed partway through, after the submodel array had been grown, subsystems copied, and n_textures incremented past the limit, which later loops over maps[] then overran. Work out the texture mapping first, and give up before touching the model. Also skip the -1 texture id of untextured flat polygons, which was being assigned a texture slot, and which replace_textures_used then used to index Num_verts and Num_polies. Co-Authored-By: Claude Opus 5.5 <[email protected]>
FreeSpace2 Source Code Project
Building
Before you do anything, make sure you have updated your git submodules, either by running git submodule update --init --recursive or by cloning the repository with the --recursive flag.
The main instructions for building can be found at our github wiki, on the Building page.
Releases
1
Release release_26_2_0
Latest
Languages
C++
75.7%
C
22%
CMake
1%
HTML
0.5%
Objective-C++
0.3%
Other
0.2%