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