Viewing source/core/gamefuncs.cpp from commit 38b191a95