1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-07 05:37:01 +02:00

fix skateboard

This commit is contained in:
XProger
2021-02-27 00:58:58 +03:00
parent e5b5d0736d
commit 25df2d8def

View File

@@ -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;
}