DEADSOFTWARE

Fix save game
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 5 Mar 2017 17:06:35 +0000 (20:06 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 5 Mar 2017 17:06:35 +0000 (20:06 +0300)
src/CAVE.mpsrc

index ccdef84c131cb89a5c76f85934566c3e4ab5663e..27145e52a878785f32dc010a5b14ce0a6b945ca9 100644 (file)
@@ -513,9 +513,8 @@ procedure saveworld(path:string);
    if file_exists(path+world_name)<>1 then file_create(path+world_name);\r
    if open_file(path+world_name)=1 then\r
     begin\r
-      writeint(player.getX);\r
-      writeint(player.getX);\r
-     //Matrix\r
+     writeint(player.getX);\r
+     writeint(player.getY);\r
      //Matrix\r
      SaveMapRLE;\r
      SaveMapInfoRLE;\r