Skip to content

Commit

Permalink
fix build 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Sep 12, 2024
1 parent 2fedd8b commit a203288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/parse_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ def run_parse():
and item["member_funs"][func_name]
and len(item["member_funs"][func_name]) > 0
):
# choosing the last one since that's the actual virtual signature most of the time
func = item["member_funs"][func_name][-1]
vtable_entries[name] = {
"name": name,
Expand All @@ -648,9 +649,7 @@ def run_parse():
"binds": binds,
}
else:
signature = re.search(
r"([_a-zA-Z][\w]*.*)\((.*)\)", signature
)
signature = re.search(r"([_a-zA-Z][\w]*.*)\((.*)\)", signature)
ret = signature.group(1)
args = [t for t in signature.group(2).split(",")]
vtable_entries[name] = {
Expand Down
2 changes: 1 addition & 1 deletion src/game_api/entities_monsters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ class Anubis : public Monster
bool awake;

virtual void set_next_attack_timer() = 0; // sets next_attack_timer based on the psychic_orbs_counter
virtual void attack() = 0;
virtual void normal_attack() = 0;
virtual void play_attack_sound() = 0; // also calls virtual 20
};

Expand Down

0 comments on commit a203288

Please sign in to comment.