IrrlichtResourceProvider make sure the file exists not using existFIle

Issue #395 resolved
Former user created an issue

Automatic migration. Original reporter: "vroad"

IrrlichtResourceProvider currently only checks the file exists. Even if file exists, opening a file may fail. This patch fixes it. loadRawDataContainer throws exception if opening a file was failed.

Reproducibility: always

Additional information: Should retvalue of "f->read(how much read)" be checked?

Comments (1)

  1. Log in to comment