From 14b5984664fc25993d2b4926cdbf70040ca1c420 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 14 Sep 2022 21:49:37 +0200 Subject: [PATCH] - removed int_playerheight --- source/games/duke/src/flags_r.cpp | 1 - source/games/duke/src/gamedef.cpp | 1 - source/games/duke/src/global.h | 1 - 3 files changed, 3 deletions(-) diff --git a/source/games/duke/src/flags_r.cpp b/source/games/duke/src/flags_r.cpp index 407eec73a..f3330fbc9 100644 --- a/source/games/duke/src/flags_r.cpp +++ b/source/games/duke/src/flags_r.cpp @@ -323,7 +323,6 @@ void initactorflags_r() TILE_BIGORBIT1 = BIGORBIT1; TILE_EGG = EGG; - gs.int_playerheight = PHEIGHT_RR << 8; gs.playerheight = PHEIGHT_RR; } diff --git a/source/games/duke/src/gamedef.cpp b/source/games/duke/src/gamedef.cpp index 5beaf443b..299d0f34f 100644 --- a/source/games/duke/src/gamedef.cpp +++ b/source/games/duke/src/gamedef.cpp @@ -3187,7 +3187,6 @@ void loadcons() gs.shrinkerblastradius = 650; gs.gravity = 0.6875; gs.tripbombblastradius = 3880; - gs.int_playerheight = PHEIGHT_DUKE << 8; gs.playerheight = PHEIGHT_DUKE; gs.displayflags = DUKE3D_NO_WIDESCREEN_PINNING; diff --git a/source/games/duke/src/global.h b/source/games/duke/src/global.h index a7acedf7d..2cf53c8b7 100644 --- a/source/games/duke/src/global.h +++ b/source/games/duke/src/global.h @@ -40,7 +40,6 @@ struct DukeGameInfo ActorInfo actorinfo[MAXTILES]; int16_t max_ammo_amount[MAX_WEAPONS]; int16_t weaponsandammosprites[15]; - int int_playerheight; double playerheight; int displayflags; };