diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index 73e6b28e6221babfb08549a07202ca96ac9f1bf9..36b1016abb6720dab7e7006448c8ef2ad7e966c5 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*)
-{$MODE DELPHI}
+{$INCLUDE g_amodes.inc}
unit g_game;
interface
State: Byte;
OuterLoop: Boolean;
newResPath: string;
+ Len: Word;
begin
g_Game_Free();
Ptr := NetEvent.packet^.data;
e_Raw_Seek(0);
+ Len := e_Raw_Read_Word(Ptr);
MID := e_Raw_Read_Byte(Ptr);
if (MID = NET_MSG_INFO) and (State = 0) then
g_Player_Init();
NetState := NET_STATE_GAME;
- MC_SEND_FullStateRequest;
+ MC_SEND_FullStateRequest();
e_WriteLog('NET: Connection successful.', MSG_NOTIFY);
end;