• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum Beta for TSPG.


コミットメタ情報

リビジョンa613c42e9cf2b5264b17a3455a835e2c89a32ef3 (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.

変更サマリ

差分

diff -r d12781ff58f0 -r a613c42e9cf2 src/p_lnspec.cpp
--- a/src/p_lnspec.cpp Sun Nov 28 10:16:12 2021 -0500
+++ b/src/p_lnspec.cpp Sat Nov 27 20:33:02 2021 -0500
@@ -3929,7 +3929,9 @@
39293929 // or backtraced right now. We want to keep track of any specials this player has executed while
39303930 // being extrapolated so that if they're backtraced and execute the exact same special again, we
39313931 // 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 ))
39333935 {
39343936 CLIENT_s *pClient = SERVER_GetClient( activator->player - players );
39353937 CLIENT_SAVED_SPECIAL_s savedSpecial;