Skip to content

Commit

Permalink
fix typo in hp initialization (fixes #47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco149 committed Feb 21, 2019
1 parent 43b8fe8 commit 8a8192f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oppai.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ OPPAIAPI char* oppai_version_str();

#define OPPAI_VERSION_MAJOR 3
#define OPPAI_VERSION_MINOR 1
#define OPPAI_VERSION_PATCH 0
#define OPPAI_VERSION_PATCH 1
#define STRINGIFY_(x) #x
#define STRINGIFY(x) STRINGIFY_(x)

Expand Down Expand Up @@ -2264,7 +2264,7 @@ ezpp_t ezpp_new() {
ez->combo = -1;
ez->score_version = 1;
ez->accuracy_percent = -1;
ez->base_ar = ez->base_od = ez->base_cs = ez->base_hp -1;
ez->base_ar = ez->base_od = ez->base_cs = ez->base_hp = -1;
array_reserve(&ez->objects, 600);
array_reserve(&ez->timing_points, 16);
array_reserve(&ez->highest_strains, 600);
Expand Down

0 comments on commit 8a8192f

Please sign in to comment.