mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-27 00:03:27 +01:00
Allow larger sprites file
This commit is contained in:
Binary file not shown.
Binary file not shown.
+1
-1
@@ -39,7 +39,7 @@ void load_sprites(char* filename, unsigned char **buffername)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Stops us trying to mallocsomething mad if file is too big.
|
// Stops us trying to mallocsomething mad if file is too big.
|
||||||
if(length > 200000)
|
if(length > 250000)
|
||||||
{
|
{
|
||||||
screen_nobuffer();
|
screen_nobuffer();
|
||||||
printf("Sprite file %s seems unreasonably large at %i bytes, object type is %i\n",filename, length, outreg.r[0]);
|
printf("Sprite file %s seems unreasonably large at %i bytes, object type is %i\n",filename, length, outreg.r[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user