08-09-2003, 01:40 PM
(This post was last modified: 08-09-2003, 01:41 PM by evil_admin.)
I think I got it...this is the modified code checking for map type. I checked it on rc_stalkyard to ensure I could use the elevator and PnG helped me test on rc_arena. I need to clean up testing code and then port it over to the linux side.
Code:
// Slow down, I'm pulling it! (a box maybe) but only when I'm standing on ground
 if ( ( pmove->onground != -1 ) && ( pmove->cmd.buttons & IN_USE) )
 {
  //Block if map is arena-type - desNotes
 if (!m_iArenaOff)
 {
  VectorScale( pmove->velocity, 0.3, pmove->velocity );
 }
 }

