mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Deck limit (#5559)
* increased MAX_FILE_LENGTH * set MAX_FILE_LENGTH to about 2 megabytes
This commit is contained in:
parent
218ed726b6
commit
e6e3333673
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ constexpr int MAX_NAME_LENGTH = 0xff;
|
|||
// max size for chat messages and text contents
|
||||
constexpr int MAX_TEXT_LENGTH = 0xfff;
|
||||
// max size for deck files and pictures
|
||||
constexpr int MAX_FILE_LENGTH = 0xfffff; // about a megabyte
|
||||
constexpr int MAX_FILE_LENGTH = 0x1fffff; // about 2 megabytes
|
||||
|
||||
constexpr uint MINIMUM_DIE_SIDES = 2;
|
||||
constexpr uint MAXIMUM_DIE_SIDES = 1000000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue