Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOTOR: Fix usage of dynamic_cast<>()
dynamic_cast<>() to a pointer may return 0, which has to be checked for. dynamic_cast<>() to a reference may throw an exception instead. Coverity issue 1038265.
- Loading branch information