fix for http://openxcom.org/bugs/openxcom/issues/32