mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Fixes
This commit is contained in:
parent
945d809e46
commit
d26056cc40
@ -1,7 +1,10 @@
|
||||
#include "legobox.h"
|
||||
|
||||
#include "decomp.h"
|
||||
#include "misc/legoutil.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoBox, 0x18)
|
||||
|
||||
// FUNCTION: LEGO1 0x100d3740
|
||||
LegoResult LegoBox::Read(LegoStorage* p_storage)
|
||||
{
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
#include "legosphere.h"
|
||||
|
||||
#include "decomp.h"
|
||||
#include "misc/legostorage.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoSphere, 0x10)
|
||||
|
||||
// FUNCTION: LEGO1 0x100d3770
|
||||
LegoResult LegoSphere::Read(LegoStorage* p_storage)
|
||||
{
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
#include "legovertex.h"
|
||||
|
||||
#include "decomp.h"
|
||||
#include "misc/legostorage.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoVertex, 0x0c)
|
||||
|
||||
// FUNCTION: LEGO1 0x100d37b0
|
||||
LegoVertex::LegoVertex()
|
||||
{
|
||||
|
||||
@ -175,8 +175,9 @@ LegoResult LegoROI::Read(
|
||||
|
||||
if (m_unk0x100) {
|
||||
for (roiLength = strlen(m_name); roiLength; roiLength--) {
|
||||
if (m_name[roiLength - 1] < '0' || m_name[roiLength - 1] > '9')
|
||||
if (m_name[roiLength - 1] < '0' || m_name[roiLength - 1] > '9') {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
roiName = new LegoChar[roiLength + 1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user