]> git.seodisparate.com - RockPaperScissorsDuel/commitdiff
Remove unnecessary comments
authorStephen Seo <seo.disparate@gmail.com>
Wed, 18 Jan 2023 05:01:19 +0000 (14:01 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 18 Jan 2023 05:01:19 +0000 (14:01 +0900)
src/3d_renderer.cc

index 948e8fbe26978d2efa4249390adc2381ff3c0614..83b361158e58edb92cbacbcc01a981fc6e938fcf 100644 (file)
@@ -145,10 +145,6 @@ void Renderer3D::update_state(const char *playerOne, const char *playerTwo,
   if (!flags.test(13)) {
     received_pos = pos;
   }
-  // if (received_matchup_idx != matchup_idx) {
-  //   flags.reset(7);
-  // }
-  // received_matchup_idx = matchup_idx;
 
   if (second_first != '?') {
     if (flags.test(2)) {
@@ -329,12 +325,6 @@ void Renderer3D::update_impl() {
     }
   }
 
-  // if (!flags.test(3) && flags.test(8) &&
-  //     ((flags.test(2) && !flags.test(9)) ||
-  //      (!flags.test(2) && !flags.test(10)))) {
-  //   call_js_set_ready();
-  // }
-
   button_color_timer -= dt;
   if (button_color_timer <= 0.0F) {
     button_color_timer += BUTTON_COLOR_TIME;