… | |
… | |
1153 | * around. |
1153 | * around. |
1154 | */ |
1154 | */ |
1155 | if (QUERY_FLAG (op, FLAG_REMOVED) && op->type != PLAYER && op->map && op->map->in_memory != MAP_IN_MEMORY) |
1155 | if (QUERY_FLAG (op, FLAG_REMOVED) && op->type != PLAYER && op->map && op->map->in_memory != MAP_IN_MEMORY) |
1156 | { |
1156 | { |
1157 | LOG (llevError, "BUG: process_events(): Removed object on list\n"); |
1157 | LOG (llevError, "BUG: process_events(): Removed object on list\n"); |
1158 | dump_object (op); |
1158 | char *dump = dump_object (op); |
1159 | LOG (llevError, errmsg); |
1159 | LOG (llevError, dump); |
|
|
1160 | free (dump); |
1160 | free_object (op); |
1161 | free_object (op); |
1161 | continue; |
1162 | continue; |
1162 | } |
1163 | } |
1163 | |
1164 | |
1164 | if (!op->speed) |
1165 | if (!op->speed) |