Open bylins opened 1 month ago
1203 || ch->in_room != IN_ROOM(ch->GetEnemy()) [Current thread is 1 (Thread 0x7fa0f1824300 (LWP 261143))] (gdb) bt
label=std::unordered_map with 3 elements = {...}) at /home/mud/mud/src/heartbeat.cpp:648
at /home/mud/mud/src/heartbeat.cpp:582
переделать на итератор
(gdb) bt
(gdb)
0 0x0000564496da44c5 in check_mob_helpers () at /home/mud/mud/src/game_fight/fight.cpp:1203
1203 || ch->in_room != IN_ROOM(ch->GetEnemy()) [Current thread is 1 (Thread 0x7fa0f1824300 (LWP 261143))] (gdb) bt
0 0x0000564496da44c5 in check_mob_helpers () at /home/mud/mud/src/game_fight/fight.cpp:1203
1 0x0000564496da7400 in perform_violence () at /home/mud/mud/src/game_fight/fight.cpp:2036
2 0x0000564496e9342f in std::__invoke_impl<void, void (*&)()> (__f=) at /usr/include/c++/11/bits/invoke.h:60
3 std::__invoke_r<void, void (*&)()> (__fn=) at /usr/include/c++/11/bits/invoke.h:111
4 std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/11/bits/std_function.h:290
5 0x0000564496e87b6d in std::function<void ()>::operator()() const (this=) at /usr/include/c++/11/bits/std_function.h:590
6 (anonymous namespace)::SimpleCall::perform (this=) at /home/mud/mud/src/heartbeat.cpp:119
7 0x0000564496e89a69 in Heartbeat::pulse (this=this@entry=0x5644972b6460 <(anonymous namespace)::global_objects()::storage+1632>, missed_pulses=missed_pulses@entry=0,
8 0x0000564496e93071 in Heartbeat::operator() (this=0x5644972b6460 <(anonymous namespace)::global_objects()::storage+1632>, missed_pulses=missed_pulses@entry=0)
9 0x0000564496c64ddc in game_loop (epoll=epoll@entry=10, mother_desc=mother_desc@entry=8) at /home/mud/mud/src/comm.cpp:1445
10 0x0000564496c64f3f in stop_game (port=port@entry=4000) at /home/mud/mud/src/comm.cpp:840
11 0x0000564496c65797 in main_function (argc=2, argv=0x7fff11296558) at /home/mud/mud/src/comm.cpp:781
12 0x0000564496c5b866 in main (argc=, argv=) at /home/mud/mud/src/main.cpp:4