wheybags / freeablo

[ARCHIVED] Modern reimplementation of the Diablo 1 game engine
GNU General Public License v3.0
2.16k stars 193 forks source link

Fix possible overlapping actors #377

Closed wheybags closed 5 years ago

wheybags commented 6 years ago

Actors shouldn't be able to occupy the same space. Ref #376 Functions of note: GameLevel::actorMapInsert and actorMapRemove should ensure this doesn't happen, maybe there's a bug there. Can check for this by placing a breakpoint at https://github.com/wheybags/freeablo/blob/master/components/misc/vec2fix.cpp#L8 then going into the dungeon and fighting enemies until it triggers. You should find the player attacking a target occupying the same tile.

wheybags commented 5 years ago

closed by https://github.com/wheybags/freeablo/pull/408