fix map loading mismatches

This commit is contained in:
Martin Michelsen
2023-06-19 12:07:03 -07:00
parent 2de37a4733
commit 2b3cc6bcdf
7 changed files with 154 additions and 105 deletions
-3
View File
@@ -15,8 +15,6 @@
struct Map {
struct Enemy {
static uint64_t next_enemy_id;
enum Flag {
HIT_BY_PLAYER0 = 0x01,
HIT_BY_PLAYER1 = 0x02,
@@ -25,7 +23,6 @@ struct Map {
DEFEATED = 0x10,
ITEM_DROPPED = 0x20,
};
uint64_t id;
EnemyType type;
uint8_t flags;
uint8_t last_hit_by_client_id;