mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-21 18:10:26 +01:00
Merge pull request #47 from chewi/camera-Waddress
Fix GCC -Waddress warning in PlayCamera
This commit is contained in:
commit
824986f62d
|
@ -391,10 +391,8 @@ procedures:
|
|||
// determine camera type and jump to corresponding routine
|
||||
PlayCamera()
|
||||
{
|
||||
// eventually add to movers list
|
||||
CCameraMarker &cm = (CCameraMarker&)*m_penTarget;
|
||||
// if we have at least one marker
|
||||
if( &cm!=NULL) {
|
||||
if( m_penTarget!=NULL) {
|
||||
// treat camera as movable
|
||||
jump PlayMovingCamera();
|
||||
// if there isn't any markers
|
||||
|
|
Loading…
Reference in New Issue
Block a user