Update engine/world.h

Oops, added code from world.cpp by accident.