File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -381,4 +381,5 @@ class RecordButtonCommand {
381381 bool m_isPush;
382382 bool m_isPlayer2;
383383 int m_step;
384+ int m_unk00c;
384385}
Original file line number Diff line number Diff line change @@ -955,12 +955,13 @@ void GJBaseGameLayer::reAddToStickyGroup(GameObject* object) {
955955}
956956
957957void GJBaseGameLayer::recordAction (int button, bool down, bool player2) {
958- if (m_recordInputs && !m_useReplay) {
959- PlayerButtonCommand command;
958+ if (m_recordInputs && !m_useReplay && m_queuedRecordedButtons. size () < 100000 ) {
959+ RecordButtonCommand command;
960960 command.m_button = (PlayerButton)button;
961961 command.m_isPush = down;
962962 command.m_isPlayer2 = player2;
963963 command.m_step = 0 ;
964+ command.m_unk00c = 0 ;
964965 m_queuedRecordedButtons.push_back (command);
965966 }
966967}
You can’t perform that action at this time.
0 commit comments