Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dynamic_cast nevers throws an exception when applied to pointers, onl…
…y references (since it can't assign null to a reference). This patch removes the try/catch block and just checks the pointer for null, fixing a crasher here if the dynamic cast fails.
- Loading branch information