diff options
| author | Wilhem Barbier | 2017-01-14 18:47:06 +0100 |
|---|---|---|
| committer | Wilhem Barbier | 2017-01-14 18:47:06 +0100 |
| commit | 54b20874b68fbf1cb84db4448ae344bd361d5826 (patch) | |
| tree | 808bfe17f74b5511af757bfdb885735e21bd9f40 /core/bind/core_bind.cpp | |
| parent | ce99286362a7adbd867a2d73ec18b82aaa8f0b7d (diff) | |
| download | godot-54b20874b68fbf1cb84db4448ae344bd361d5826.tar.gz godot-54b20874b68fbf1cb84db4448ae344bd361d5826.tar.zst godot-54b20874b68fbf1cb84db4448ae344bd361d5826.zip | |
Diffstat (limited to 'core/bind/core_bind.cpp')
| -rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index d2264c6c6..657f527a5 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1865,7 +1865,7 @@ String _Directory::get_drive(int p_drive){ return d->get_drive(p_drive); } int _Directory::get_current_drive() { - ERR_FAIL_COND_V(!d,""); + ERR_FAIL_COND_V(!d,0); return d->get_current_drive(); } |
