mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
- another crash in Blood
This commit is contained in:
parent
50e6d364be
commit
13115ad217
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ unsigned PaletteManager::FindPalette(const uint8_t *paldata)
|
||||||
|
|
||||||
unsigned PaletteManager::FindPalswap(const uint8_t* paldata)
|
unsigned PaletteManager::FindPalswap(const uint8_t* paldata)
|
||||||
{
|
{
|
||||||
|
if (paldata == nullptr) return 0;
|
||||||
auto crc32 = CalcCRC32(paldata, 256 * numshades);
|
auto crc32 = CalcCRC32(paldata, 256 * numshades);
|
||||||
for (unsigned int i = 0; i < palswaps.Size(); i++)
|
for (unsigned int i = 0; i < palswaps.Size(); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue