projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rocksndiamonds-3.0.7
[rocksndiamonds.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index a2928592b4a23fae7d379a47dbf68cf779e41e0f..5511d176a1b9a9264c0e9b9db35fec4efe0a39f2 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-266,7
+266,7
@@
void SendToServer_StopPlaying()
void SendToServer_MovePlayer(byte player_action)
{
void SendToServer_MovePlayer(byte player_action)
{
- buffer[1] = OP_MOVE_
FIGURE
;
+ buffer[1] = OP_MOVE_
PLAYER
;
buffer[2] = player_action;
SendBufferToServer(3);
buffer[2] = player_action;
SendBufferToServer(3);
@@
-486,7
+486,7
@@
static void Handle_OP_STOP_PLAYING()
DrawMainMenu();
}
DrawMainMenu();
}
-static void Handle_OP_MOVE_
FIGURE
(unsigned int len)
+static void Handle_OP_MOVE_
PLAYER
(unsigned int len)
{
int server_frame_counter;
int i;
{
int server_frame_counter;
int i;
@@
-569,8
+569,8
@@
static void HandleNetworkingMessages()
Handle_OP_STOP_PLAYING();
break;
Handle_OP_STOP_PLAYING();
break;
- case OP_MOVE_
FIGURE
:
- Handle_OP_MOVE_
FIGURE
(message_length);
+ case OP_MOVE_
PLAYER
:
+ Handle_OP_MOVE_
PLAYER
(message_length);
break;
case OP_BROADCAST_MESSAGE:
break;
case OP_BROADCAST_MESSAGE: