mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
add footpath objects
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "../core/Memory.hpp"
|
||||
#include "../core/MemoryStream.h"
|
||||
#include "EntranceObject.h"
|
||||
#include "FootpathObject.h"
|
||||
#include "Object.h"
|
||||
#include "ObjectFactory.h"
|
||||
#include "StexObject.h"
|
||||
@@ -62,6 +63,9 @@ namespace ObjectFactory
|
||||
|
||||
uint8 objectType = entry.flags & 0x0F;
|
||||
switch (objectType) {
|
||||
case OBJECT_TYPE_PATHS:
|
||||
result = new FootpathObject(entry);
|
||||
break;
|
||||
case OBJECT_TYPE_PARK_ENTRANCE:
|
||||
result = new EntranceObject(entry);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user