From fad77cbbd341682ac42aa9254629f08653fbbdc8 Mon Sep 17 00:00:00 2001 From: flowtron Date: Sun, 11 Jul 2021 17:11:24 +0200 Subject: [PATCH] mapmodel attr56 observed in entset --- source/src/world.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/src/world.cpp b/source/src/world.cpp index 36ee9051..602838ef 100644 --- a/source/src/world.cpp +++ b/source/src/world.cpp @@ -372,8 +372,10 @@ void newentity(int index, int x, int y, int z, const char *what, float v1f, floa if(type == NOTUSED) return; if (index >= 0 && ents[index].type == SOUND) deletesoundentity(ents[index]); // overwriting sound entity switch(type) - { // MAPMODEL, PLAYERSTART and CTF-FLAG use the current camera direction as value for attr1, so attr234 need to be moved + { // MAPMODEL, PLAYERSTART and CTF-FLAG use the current camera direction as value for attr1, so attr23456 need to be moved case MAPMODEL: + v6f = v5f; + v5f = v4f; v4f = v3f; v3f = v2f; case PLAYERSTART: