Fixes GCC compile error (in linux changed static_cast to dynamic_cast) in windows it is still static_cast. 
Fixes GCC compile error (in linux changed static_cast to dynamic_cast) in windows it is still static_cast. 

git-svn-id: 65dd0ccd495961f396d5302e5521154b071f0302@1047 5b2332b8-efa3-11de-8684-7d64432d61a3

AlphaStaxLLC/tundra,realXtend/tundra,BogusCurry/tundra,jesterKing/naali,pharos3d/tundra,BogusCurry/tundra,jesterKing/naali,BogusCurry/tundra,antont/tundra,antont/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,antont/tundra,BogusCurry/tundra,realXtend/tundra,BogusCurry/tundra,jesterKing/naali,realXtend/tundra,antont/tundra,antont/tundra,pharos3d/tundra,pharos3d/tundra,pharos3d/tundra,realXtend/tundra,jesterKing/naali,jesterKing/naali,jesterKing/naali,AlphaStaxLLC/tundra,jesterKing/naali,realXtend/tundra,antont/tundra,antont/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,BogusCurry/tundra,AlphaStaxLLC/tundra,realXtend/tundra