-Fix: possible out of bounds array access


git-svn-id: http://svn.openttd.org/trunk@26080 6aa0318a-3be1-0310-93fa-89fd2396df07
-Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base


git-svn-id: http://svn.openttd.org/trunk@26081 6aa0318a-3be1-0310-93fa-89fd2396df07