Jump to content

Meanwhile in UpdateMove in player.cpp ... nothing strange is happening


Recommended Posts

void Player::updateMove(const Move* move)
   delta.move = *move;
   // Is waterCoverage high enough to be 'swimming'?
   {//<---yorks uwotm8!?
      bool swimming = mWaterCoverage > 0.65f && canSwim();      
      if ( swimming != mSwimming )
         if ( !isGhost() )
            if ( swimming )
               mDataBlock->onStartSwim_callback( this );
               mDataBlock->onStopSwim_callback( this );
         mSwimming = swimming;
   }//<---yorks uwotm8!?


I think something might have been removed once but the brackets left in :lol:

Edited by Steve_Yorkshire
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...