Update of /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source
In directory sc8-pr-cvs1:/tmp/cvs-serv27437
Modified Files:
GameScreen.cpp
Log Message:
no message
Index: GameScreen.cpp
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source/GameScreen.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GameScreen.cpp 12 Dec 2002 21:13:45 -0000 1.3
--- GameScreen.cpp 11 Jan 2003 11:09:06 -0000 1.4
***************
*** 289,295 ****
{
! MissileObject * pMissile = (MissileObject * )g_pObjectFactory->createNamedObject("AMRAAM", "UNNAMED MISSILE");
! pMissile->setOrientation( g_pPlayerObject->getOrientation());
pMissile->setGlobalPosition( g_pPlayerObject->getGlobalPosition()
- 3.0 * ( g_pPlayerObject->getUpDirection() )
--- 289,295 ----
{
! MissileObject * pMissile = dynamic_cast<MissileObject *>(g_pObjectFactory->createNamedObject("AMRAAM", "UNNAMED MISSILE"));
! pMissile->setOrientation( g_pPlayerObject->getqOrientation());
pMissile->setGlobalPosition( g_pPlayerObject->getGlobalPosition()
- 3.0 * ( g_pPlayerObject->getUpDirection() )
|