|
|
|
|
@ -1870,8 +1870,8 @@ void missiles_warp(int mi, int sx, int sy, int dx, int dy, int midir, char miene
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < numtrigs && i < MAXTRIGGERS; i++) { |
|
|
|
|
trg = &trigs[i]; |
|
|
|
|
if (trg->_tmsg == 1032 || trg->_tmsg == 1027 || trg->_tmsg == 1026 || trg->_tmsg == 1028) { |
|
|
|
|
if ((leveltype == 1 || leveltype == 2) && (trg->_tmsg == 1026 || trg->_tmsg == 1027 || trg->_tmsg == 1028)) { |
|
|
|
|
if (trg->_tmsg == WM_DIABTWARPUP || trg->_tmsg == WM_DIABPREVLVL || trg->_tmsg == WM_DIABNEXTLVL || trg->_tmsg == WM_DIABRTNLVL) { |
|
|
|
|
if ((leveltype == DTYPE_CATHEDRAL || leveltype == DTYPE_CATACOMBS) && (trg->_tmsg == WM_DIABNEXTLVL || trg->_tmsg == WM_DIABPREVLVL || trg->_tmsg == WM_DIABRTNLVL)) { |
|
|
|
|
fx = trg->_tx; |
|
|
|
|
fy = trg->_ty + 1; |
|
|
|
|
} else { |
|
|
|
|
|