Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Feb 8, 2024
1 parent 4193272 commit 1d69793
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
#include <v8pp/class.hpp>
#include <v8pp/module.hpp>

#include "networking/network_server.h"

#include "world/engine.h"
#include "world/server.h"

#include "world/game_rpc/set_frame.h"
#include "world/game_rpc/set_transform.h"

Expand Down
4 changes: 2 additions & 2 deletions code/framework/src/world/modules/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ namespace Framework::World::Modules {
double lastUpdate = 0.0;
};
float range = 100.0f;
uint64_t guid = (uint64_t)-1;
uint16_t playerIndex = (uint64_t)-1;
uint64_t guid = 0xFFFFFFFFFFFFFFFF;
uint16_t playerIndex = 0xFFFF;
std::string nickname;
std::unordered_map<flecs::entity_t, StreamData> entities;
std::unordered_set<flecs::entity_t> rangeExemptEntities;
Expand Down

0 comments on commit 1d69793

Please sign in to comment.