Fixed signed/unsigned masquerade

This commit is contained in:
rackover 2021-04-28 20:23:56 +02:00
parent 368e339efc
commit 462148a4b0

View File

@ -1000,7 +1000,7 @@ namespace Components
for (auto i = 0; i < scene->sceneDObjCount; i++) for (auto i = 0; i < scene->sceneDObjCount; i++)
{ {
if (scene->sceneDObj[i].obj) { if (scene->sceneDObj[i].obj) {
for (size_t j = 0; j < scene->sceneDObj[i].obj->numModels; j++) for (int j = 0; j < scene->sceneDObj[i].obj->numModels; j++)
{ {
Game::R_AddDebugString(dobjsColor, scene->sceneDObj[i].placement.origin, 1.0, scene->sceneDObj[i].obj->models[j]->name); Game::R_AddDebugString(dobjsColor, scene->sceneDObj[i].placement.origin, 1.0, scene->sceneDObj[i].obj->models[j]->name);
} }
@ -1008,7 +1008,7 @@ namespace Components
} }
// Static models // Static models
for (auto i = 0; i < world->dpvs.smodelCount; i++) for (size_t i = 0; i < world->dpvs.smodelCount; i++)
{ {
auto staticModel = world->dpvs.smodelDrawInsts[i]; auto staticModel = world->dpvs.smodelDrawInsts[i];
if (staticModel.model) { if (staticModel.model) {