Abort compile when attempting to build client with Irrlicht 1.8.2

This commit is contained in:
kwolekr 2015-11-08 23:08:53 -05:00
parent 88a3977954
commit 889f893ff3
1 changed files with 13 additions and 6 deletions

View File

@ -62,6 +62,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "touchscreengui.h"
#endif
#if !defined(SERVER) && \
(IRRLICHT_VERSION_MAJOR == 1) && \
(IRRLICHT_VERSION_MINOR == 8) && \
(IRRLICHT_VERSION_REVISION == 2)
#error "Irrlicht 1.8.2 is known to be broken - please update Irrlicht to version >= 1.8.3"
#endif
#define DEBUGFILE "debug.txt"
#define DEFAULT_SERVER_PORT 30000