Merge pull request #1438 from Spooner/fix_isometric_demo

Fix isometric demo
This commit is contained in:
Juan Linietsky 2015-03-22 14:59:58 -03:00
commit ca30c87019
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -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;

View file

@ -71,7 +71,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;