almoos dere
This commit is contained in:
@@ -132,7 +132,7 @@ void Connection::sendPacks(SOCKET sock, std::unordered_map<uint64_t, Connection*
|
||||
}
|
||||
}
|
||||
|
||||
Timestamp Connection::Run(World* world) {
|
||||
Timestamp Connection::Run(World* world, std::unordered_map<uint64_t, Booster*> boosters) {
|
||||
Input in, last;
|
||||
Output out;
|
||||
Timestamp tstamp = 0;
|
||||
@@ -169,7 +169,8 @@ Timestamp Connection::Run(World* world) {
|
||||
in.keys.backward,
|
||||
in.keys.left,
|
||||
in.keys.right,
|
||||
in.keys.jump, false, el), world, el);
|
||||
in.keys.jump, false, el),
|
||||
world, el, boosters);
|
||||
|
||||
if (player->GetPosition().y < -20.) {
|
||||
player->InflictDamage(9000.);
|
||||
|
Reference in New Issue
Block a user