extern int maptype;
extern int editoractive;
extern int editorpathtype;
-extern ImageRec texture;
extern float hostiletime;
{
LOGFUNC;
//Load Image
- bool opened = upload_image(fileName);
+ ImageRec texture;
+ bool opened = load_image(fileName, texture);
float alphanum;
//Is it valid?