Merge branch 'master' into renderer_refactor

# Conflicts:
#	TR5Main/Renderer/Renderer11DrawEffect.cpp
#	TR5Main/TombEngine.vcxproj.filters
This commit is contained in:
MontyTRC89 2021-11-23 09:28:40 +01:00
commit 21b3cc8151
127 changed files with 6589 additions and 15655 deletions

View file

@ -4,7 +4,7 @@
#include "savegame.h"
#include "GameScriptInventoryObject.h"
#include "InventorySlots.h"
#include "Game/newinv2.h"
#include "Game/gui.h"
/***
Scripts that will be run on game startup.
@ -250,7 +250,7 @@ bool GameFlow::DoGameflow()
GameScriptInventoryObject* obj = &level->InventoryObjects[i];
if (obj->slot >= 0 && obj->slot < INVENTORY_TABLE_SIZE)
{
INVOBJ* invObj = &inventry_objects_list[obj->slot];
InventoryObject* invObj = &inventry_objects_list[obj->slot];
invObj->objname = obj->name.c_str();
invObj->scale1 = obj->scale;