increase land tex size to 512, which is the current minimum required just to load a hat. On my system max fps rose from 840 to 890 - about 6% change.
also a nil check, probably not needed.
Hedgewars - a turn based strategy game.Distributed under the terms of the GNU GPL licence.Images and sounds are distributed under the terms of the GNU FDL licence.Source:Copyright 2004-2011 Andrey Korotaev <unC0Rr@gmail.com>Portions copyright 2006-2008 Igor Ulyanov aka Displacer <iulyanov@gmail.com>