Fix in lvl loader - can now load shere RB
This commit is contained in:
parent
b3f8754f47
commit
b25a08ff90
|
@ -152,10 +152,9 @@ namespace GameLogic
|
||||||
start = 0;
|
start = 0;
|
||||||
LevelLoaderInternal::FormatVersion version;
|
LevelLoaderInternal::FormatVersion version;
|
||||||
memcpy(&version, &buf[0], sizeof(version));
|
memcpy(&version, &buf[0], sizeof(version));
|
||||||
start += 4;
|
start += 8;
|
||||||
|
|
||||||
memcpy(&volume.geoType, &buf[start], sizeof(volume.geoType));
|
memcpy(&volume.geoType, &buf[start], sizeof(volume.geoType));
|
||||||
start += sizeof(volume.geoType);
|
|
||||||
|
|
||||||
switch(volume.geoType)
|
switch(volume.geoType)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue