GIT
/
REPO
/
FRED-BOY
Projects
/
cavecraft.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b896ed
)
Fix save game
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 5 Mar 2017 17:06:35 +0000
(20:06 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 5 Mar 2017 17:06:35 +0000
(20:06 +0300)
src/CAVE.mpsrc
patch
|
blob
|
history
diff --git
a/src/CAVE.mpsrc
b/src/CAVE.mpsrc
index ccdef84c131cb89a5c76f85934566c3e4ab5663e..27145e52a878785f32dc010a5b14ce0a6b945ca9 100644
(file)
--- a/
src/CAVE.mpsrc
+++ b/
src/CAVE.mpsrc
@@
-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
DEADSOFTWARE 2012-2025