Fixed signed/unsigned masquerade
This commit is contained in:
parent
368e339efc
commit
462148a4b0
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user