1 | /* |
1 | /* |
2 | * static char *rcsid_map_c = |
2 | * static char *rcsid_map_c = |
3 | * "$Id: map.C,v 1.17 2006/08/31 06:23:19 root Exp $"; |
3 | * "$Id: map.C,v 1.18 2006/08/31 17:54:14 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
528 | /* if the archetype for the object is null, means that we |
528 | /* if the archetype for the object is null, means that we |
529 | * got an invalid object. Don't do anything with it - the game |
529 | * got an invalid object. Don't do anything with it - the game |
530 | * or editor will not be able to do anything with it either. |
530 | * or editor will not be able to do anything with it either. |
531 | */ |
531 | */ |
532 | if (op->arch==NULL) { |
532 | if (op->arch==NULL) { |
533 | LOG(llevDebug,"Discarding object without arch: %s\n", op->name?op->name:"(null)"); |
533 | LOG(llevDebug,"Discarding object without arch: %s\n", op->name?(const char *)op->name:"(null)"); |
534 | continue; |
534 | continue; |
535 | } |
535 | } |
536 | |
536 | |
537 | |
537 | |
538 | switch(i) { |
538 | switch(i) { |