Update gamemodel.cpp

adding const