~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/engine/eNetGameObject.cpp

  • Committer: Daniel Lee Harple
  • Date: 2011-05-14 17:10:18 UTC
  • mto: (563.48.4 armagetronad)
  • mto: This revision was merged to the branch mainline in revision 729.
  • Revision ID: leeharple@gmail.com-20110514171018-9xed7umzyb0gms9s
Fixed segfault from NULL dereference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
        time=se_GameTime()+1;
199
199
 
200
200
    uActionPlayer *Act=uActionPlayer::Find(act_id);
201
 
 
202
 
    ReceiveControl(time,Act,x);
 
201
    if ( Act )
 
202
        ReceiveControl(time,Act,x);
203
203
}
204
204
 
205
205