Commit cc6388d9 authored by DailyShana's avatar DailyShana Committed by GitHub

Update single_duel.cpp

parent 4afa2c6e
......@@ -1801,8 +1801,7 @@ void SingleDuel::RequestField(DuelPlayer* dp) {
NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, phasebuf, 3);
char query_buffer[256];
char* qbuf = query_buffer;
int length = query_field_info(pduel, (unsigned char*)qbuf);
int length = query_field_info(pduel, query_buffer);
NetServer::SendBufferToPlayer(dp, STOC_GAME_MSG, query_buffer, length);
RefreshMzone(1 - player, 0xffdfff, 0, dp);
RefreshMzone(player, 0xffdfff, 0, dp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment