Add minor assert
This commit is contained in:
parent
47851718eb
commit
5094f5c7c1
|
@ -205,6 +205,7 @@ int main(int argc, char *argv[])
|
||||||
conf.read(argc, argv);
|
conf.read(argc, argv);
|
||||||
conf.readGameINI();
|
conf.readGameINI();
|
||||||
|
|
||||||
|
assert(conf.rgssVersion >= 1 && conf.rgssVersion <= 3);
|
||||||
printRgssVersion(conf.rgssVersion);
|
printRgssVersion(conf.rgssVersion);
|
||||||
|
|
||||||
int imgFlags = IMG_INIT_PNG | IMG_INIT_JPG;
|
int imgFlags = IMG_INIT_PNG | IMG_INIT_JPG;
|
||||||
|
|
Loading…
Reference in New Issue