splitscreen: use updatesector instead of *z.

When shrunk, the player position is below the floor for some weird reason.
Updatesectorz would set the sector to -1, and the view would not be drawn.

git-svn-id: https://svn.eduke32.com/eduke32@2907 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-08-16 21:48:38 +00:00
parent 1e74199bde
commit 21ee6fadc0
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ onevent EVENT_DISPLAYROOMS
getplayer[THISACTOR].horiz phoriz
getplayer[THISACTOR].horizoff phorizoff
addvarvar phoriz phorizoff
updatesectorz px py pz psect
updatesector px py psect
ifvarg psect -1
showviewunbiased px py pz pang phoriz psect 0 0 160 199
// -------------------------------------
@ -300,7 +300,7 @@ onevent EVENT_DISPLAYROOMS
getplayer[pid].horiz phoriz
getplayer[pid].horizoff phorizoff
addvarvar phoriz phorizoff
updatesectorz px py pz psect
updatesector px py psect
ifvarg psect -1
showviewunbiased px py pz pang phoriz psect 160 0 319 199
// -------------------------------------