… | |
… | |
1115 | move_apply (tmp, this, 0); |
1115 | move_apply (tmp, this, 0); |
1116 | |
1116 | |
1117 | if (destroyed ()) |
1117 | if (destroyed ()) |
1118 | LOG (llevError, "BUG: remove_ob(): name %s, destroyed leaving object\n", tmp->debug_desc ()); |
1118 | LOG (llevError, "BUG: remove_ob(): name %s, destroyed leaving object\n", tmp->debug_desc ()); |
1119 | } |
1119 | } |
1120 | |
|
|
1121 | /* Eneq(@csd.uu.se): Fixed this to skip tmp->above=tmp */ |
|
|
1122 | //TODO: why is this horrible hacka fix? get rid of this code=bug! (schmorp) |
|
|
1123 | if (tmp->above == tmp) |
|
|
1124 | tmp->above = 0; |
|
|
1125 | |
1120 | |
1126 | last = tmp; |
1121 | last = tmp; |
1127 | } |
1122 | } |
1128 | |
1123 | |
1129 | /* last == NULL if there are no objects on this space */ |
1124 | /* last == NULL if there are no objects on this space */ |