--- deliantra/server/socket/info.C 2007/03/11 02:12:45 1.35 +++ deliantra/server/socket/info.C 2007/03/12 01:13:10 1.36 @@ -421,6 +421,16 @@ sprintf (buf, "Player: %s %s", (const char *) pl->name, (const char *) pl->contr->own_title); } +// formerly a macro, used only by magic map, so optimised it out +static inline faceidx +GET_MAP_FACE (maptile *m, int x, int y, int layer) +{ + if (object *op = GET_MAP_FACE_OBJ (m, x, y, layer)) + return op->face; + else + return 0; +} + /** * Helper for magic map creation. *