Fixed client movement.
This commit is contained in:
@@ -4,9 +4,17 @@
|
||||
struct SnapshotDefinitions
|
||||
{
|
||||
// "+Forward" is 8 characters * sizeof(char) = 8
|
||||
char* inputForward = new char[8];
|
||||
char* InputForward = new char[8];
|
||||
// "+Right" is 6 characters * sizeof(char) = 6
|
||||
char* inputRight = new char[6];
|
||||
char* InputRight = new char[6];
|
||||
};
|
||||
|
||||
struct IsWASDKeyDown
|
||||
{
|
||||
bool W = false;
|
||||
bool A = false;
|
||||
bool S = false;
|
||||
bool D = false;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user