From fba2d121b4f590d2c4f4ee1dd0eb4e2d712181d2 Mon Sep 17 00:00:00 2001 From: Bil Bas (Spooner) Date: Mon, 16 Feb 2015 20:59:16 +0000 Subject: Corrected behaviour of File.READ_WRITE mode (fixes #378) --- drivers/unix/file_access_unix.cpp | 2 +- drivers/windows/file_access_windows.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index 7f8552685..2f91eee90 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -74,7 +74,7 @@ Error FileAccessUnix::_open(const String& p_path, int p_mode_flags) { else if (p_mode_flags==WRITE) mode_string="wb"; else if (p_mode_flags==READ_WRITE) - mode_string="wb+"; + mode_string="rb+"; else return ERR_INVALID_PARAMETER; diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index a6073cbb2..50e2b1d9e 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -65,7 +65,7 @@ Error FileAccessWindows::_open(const String& p_filename, int p_mode_flags) { else if (p_mode_flags==WRITE) mode_string=L"wb"; else if (p_mode_flags==READ_WRITE) - mode_string=L"wb+"; + mode_string=L"rb+"; else return ERR_INVALID_PARAMETER; -- cgit v1.3.1 From e7024259e19c18411272ec7b8d2aabf16a93e926 Mon Sep 17 00:00:00 2001 From: Bil Bas (Spooner) Date: Wed, 25 Feb 2015 17:24:32 +0000 Subject: Fixed columns to have integer positions, so that they don't "jiggle" when moving the camera. --- demos/2d/isometric/dungeon.scn | Bin 4582 -> 4721 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/demos/2d/isometric/dungeon.scn b/demos/2d/isometric/dungeon.scn index 76532a44a..58c530d5c 100644 Binary files a/demos/2d/isometric/dungeon.scn and b/demos/2d/isometric/dungeon.scn differ -- cgit v1.3.1