Viewing source/core/gamefuncs.cpp from commit e8187b4a9