From 21ee6fadc0ec1713f5f4574d44bf301af0e1a282 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 16 Aug 2012 21:48:38 +0000 Subject: [PATCH] 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 --- polymer/eduke32/samples/splitscr.con | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/samples/splitscr.con b/polymer/eduke32/samples/splitscr.con index 066d5d6bb..5e0c05830 100644 --- a/polymer/eduke32/samples/splitscr.con +++ b/polymer/eduke32/samples/splitscr.con @@ -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 // -------------------------------------