Commit 05cf9c98 authored by nanahira's avatar nanahira Committed by GitHub

allow 9-digit code for lflist (#2556)

This is very popular in custom card or rush duel communities. So we have to change it back.
parent 8902f818
...@@ -35,7 +35,7 @@ void DeckManager::LoadLFListSingle(const char* path) { ...@@ -35,7 +35,7 @@ void DeckManager::LoadLFListSingle(const char* path) {
int count = -1; int count = -1;
if (sscanf(linebuf, "%d %d", &code, &count) != 2) if (sscanf(linebuf, "%d %d", &code, &count) != 2)
continue; continue;
if (code <= 0 || code > 99999999) if (code <= 0 || code > 0xfffffff)
continue; continue;
if (count < 0 || count > 2) if (count < 0 || count > 2)
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment