Updated serialization include

master
Aadhavan Srinivasan 9 months ago
parent fa0cadfabf
commit 6331d81ba3

@ -34,7 +34,7 @@
#include "includes/check_input.hpp" #include "includes/check_input.hpp"
#include "includes/display_text.hpp" #include "includes/display_text.hpp"
#include "includes/easysock.h" #include "includes/easysock.h"
#include "includes/serialization.h" #include "subprojects/raylib-serialization/includes/serialization.h"
#include "includes/timer.h" #include "includes/timer.h"
/* Global variables used to instantiate structs */ /* Global variables used to instantiate structs */
@ -429,6 +429,7 @@ int main(int argc, char** argv) {
/* Up */ /* Up */
if (IsKeyPressed(KEY_UP) && type.mode != M_CLIENT) { if (IsKeyPressed(KEY_UP) && type.mode != M_CLIENT) {
pad2.velocity.y = (-1) * PADDLE_SPEED; pad2.velocity.y = (-1) * PADDLE_SPEED;
} }
/* Stop */ /* Stop */

Loading…
Cancel
Save