From 5094f5c7c1452c0e50915344b58702ef1a3cf532 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Thu, 16 Oct 2014 09:10:27 +0200 Subject: [PATCH] Add minor assert --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 8c840ec..cd2ca59 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -205,6 +205,7 @@ int main(int argc, char *argv[]) conf.read(argc, argv); conf.readGameINI(); + assert(conf.rgssVersion >= 1 && conf.rgssVersion <= 3); printRgssVersion(conf.rgssVersion); int imgFlags = IMG_INIT_PNG | IMG_INIT_JPG;