hack accelerate
This commit is contained in:
parent
12153ffbea
commit
eea995a926
@ -7,6 +7,8 @@
|
||||
|
||||
#include "Network.h"
|
||||
|
||||
#include "btBulletDynamicsCommon.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
@ -172,6 +174,7 @@ void Network::dispatch(enet_uint8 *data, size_t length) {
|
||||
player->vx += um->x;
|
||||
player->vy += um->y;
|
||||
player->vz += um->z;
|
||||
player->body->applyCentralImpulse(btVector3(um->x, um->y, um->z));
|
||||
break;
|
||||
}
|
||||
case MESSAGE_BOMB_DROP: {
|
||||
|
Loading…
Reference in New Issue
Block a user