リビジョン | aeda7ffcd0bd7eed86aa23aa8ac73a5e44a3f309 (tree) |
---|---|
日時 | 2021-11-28 10:33:02 |
作者 | Adam Kaminski <kaminskiadam9@gmai...> |
コミッター | Adam Kaminski |
Allow players to reactivate the ThrustThing and ThrustThingZ line specials during a backtrace.
@@ -3929,7 +3929,9 @@ | ||
3929 | 3929 | // or backtraced right now. We want to keep track of any specials this player has executed while |
3930 | 3930 | // being extrapolated so that if they're backtraced and execute the exact same special again, we |
3931 | 3931 | // can simply cancel the execution. |
3932 | - if (( NETWORK_GetState( ) == NETSTATE_SERVER ) && ( activator ) && ( activator->player )) | |
3932 | + // Ignore line specials LS_ThrustThing (72) and LS_ThrustThingZ (128), as we should allow these | |
3933 | + // specials to be repeated by the player during a backtrace. | |
3934 | + if (( NETWORK_GetState( ) == NETSTATE_SERVER ) && ( num != 72 && num != 128 ) && ( activator ) && ( activator->player )) | |
3933 | 3935 | { |
3934 | 3936 | CLIENT_s *pClient = SERVER_GetClient( activator->player - players ); |
3935 | 3937 | CLIENT_SAVED_SPECIAL_s savedSpecial; |