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