Add minor assert

This commit is contained in:
Jonas Kulla 2014-10-16 09:10:27 +02:00
parent 47851718eb
commit 5094f5c7c1
1 changed files with 1 additions and 0 deletions

View File

@ -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;