mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-09 22:56:53 +02:00
fix skateboard
This commit is contained in:
@@ -345,6 +345,11 @@ struct Level : IGame {
|
|||||||
controller->next = NULL;
|
controller->next = NULL;
|
||||||
controller->flags.state = TR::Entity::asNone;
|
controller->flags.state = TR::Entity::asNone;
|
||||||
if (i >= level.entitiesBaseCount) {
|
if (i >= level.entitiesBaseCount) {
|
||||||
|
|
||||||
|
if (e.type == TR::Entity::ENEMY_SKATEBOARD) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
delete controller;
|
delete controller;
|
||||||
e.controller = NULL;
|
e.controller = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user