Fixed bug which made the player not able to move diagonally.

Fixed a bug were m_PlayerID was not set for the client when connecting.
This commit is contained in:
Jocke
2015-12-14 16:35:43 +01:00
parent 23c3f0709b
commit 63db236dfa
3 changed files with 79 additions and 81 deletions
+2 -2
View File
@@ -4,9 +4,9 @@
struct SnapshotDefinitions
{
// "+Forward" is 8 characters * sizeof(char) = 8
char* InputForward = new char[8];
std::string InputForward;
// "+Right" is 6 characters * sizeof(char) = 6
char* InputRight = new char[6];
std::string InputRight;
};
struct IsWASDKeyDown