VoidSW: Assertion failed: pp->LadderSector >= 0 && pp->LadderSector <= 4096
This assertion happens during playing "Wanton Destruction" in first map. It happened when I tried to climb up a ladder from the canals.
Assertion failed: pp->LadderSector >= 0 && pp->LadderSector <= 4096 source/sw/src/player.cpp, line 4063
Thread 1 "voidsw" received signal SIGTRAP, Trace/breakpoint trap.
trap_instruction () at source/build/include/debugbreak.h:51
51 }
(gdb) bt
#0 trap_instruction() () at source/build/include/debugbreak.h:51
#1 0x0000555555733f4b in debug_break () at source/build/include/debugbreak.h:146
#2 _Assert(char const*, char const*, unsigned int)
(expr=0x555555c42d70 "pp->LadderSector >= 0 && pp->LadderSector <= 4096", strFile=0x555555c42d0f "source/sw/src/player.cpp", uLine=4063)
at source/sw/src/game.cpp:2902
#3 0x00005555557abc48 in DoPlayerClimb(PLAYERstruct*) (pp=0x555556870940 <Player>) at source/sw/src/player.cpp:4063
#4 0x00005555557b89d6 in domovethings() () at source/sw/src/player.cpp:8154
#5 0x00005555557342b7 in MoveLoop() () at source/sw/src/game.cpp:2993
#6 0x000055555573474e in RunLevel() () at source/sw/src/game.cpp:3161
#7 0x000055555573117c in NewLevel() () at source/sw/src/game.cpp:1700
#8 0x0000555555733eda in Control(int, char const* const*) (argc=1, argv=0x7fffffffd068) at source/sw/src/game.cpp:2890
#9 0x0000555555735f43 in app_main(int32_t, char const* const*) (argc=1, argv=0x7fffffffd068) at source/sw/src/game.cpp:4017
#10 0x0000555555a83f3a in main(int, char**) (argc=1, argv=0x7fffffffd068) at source/build/src/sdlayer.cpp:568
(gdb)
Steps to reproduce:
- Start game with "Wanton Destruction" selected.
- Load attached save-game game1.sav
- Try to climb up ladder in front of you