Update cEngine.cpp