mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
1e74199bde
commit
21ee6fadc0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
// -------------------------------------
|
||||
|
|
Loading…
Reference in a new issue