mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
oops with copy_file()
This commit is contained in:
parent
17cc1bd0a3
commit
1e80e3d39d
@ -692,7 +692,7 @@ copy_file(const Filename &orig_filename, const Filename &new_filename) {
|
||||
return false;
|
||||
}
|
||||
|
||||
PT(VirtualFile) new_file = get_file(new_filename, true);
|
||||
PT(VirtualFile) new_file = create_file(new_filename);
|
||||
if (new_file == (VirtualFile *)NULL) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user