mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20: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
|
// determine camera type and jump to corresponding routine
|
||||||
PlayCamera()
|
PlayCamera()
|
||||||
{
|
{
|
||||||
// eventually add to movers list
|
|
||||||
CCameraMarker &cm = (CCameraMarker&)*m_penTarget;
|
|
||||||
// if we have at least one marker
|
// if we have at least one marker
|
||||||
if( &cm!=NULL) {
|
if( m_penTarget!=NULL) {
|
||||||
// treat camera as movable
|
// treat camera as movable
|
||||||
jump PlayMovingCamera();
|
jump PlayMovingCamera();
|
||||||
// if there isn't any markers
|
// if there isn't any markers
|
||||||
|
|
Loading…
Reference in New Issue
Block a user