mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
compilation error
This commit is contained in:
parent
876956defb
commit
c931758917
@ -423,7 +423,7 @@ close_api() {
|
||||
U32 AILCALLBACK GlobalMilesManager::
|
||||
open_callback(char const *filename, UINTa *file_handle) {
|
||||
VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
|
||||
istream *strm = vfs->open_read_file(Filename::binary_filename(filename), true);
|
||||
istream *strm = vfs->open_read_file(Filename::binary_filename(string(filename)), true);
|
||||
if (strm == NULL) {
|
||||
// Failure.
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user