1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 16:44:50 +02:00

minor fix

This commit is contained in:
XProger
2017-09-28 04:16:51 +03:00
parent 95fb64b2cf
commit 2766791cd0

View File

@@ -108,7 +108,7 @@ struct Controller {
ActiveState activeState; ActiveState activeState;
bool invertAim; bool invertAim;
Controller(IGame *game, int entity) : next(NULL), activeState(asNone), game(game), level(game->getLevel()), entity(entity), animation(level, getModel()), state(animation.state), layers(0), explodeMask(0), explodeParts(0), invertAim(false) { Controller(IGame *game, int entity) : next(NULL), game(game), level(game->getLevel()), entity(entity), animation(level, getModel()), state(animation.state), layers(0), explodeMask(0), explodeParts(0), activeState(asNone), invertAim(false) {
TR::Entity &e = getEntity(); TR::Entity &e = getEntity();
pos = vec3(float(e.x), float(e.y), float(e.z)); pos = vec3(float(e.x), float(e.y), float(e.z));
angle = vec3(0.0f, e.rotation, 0.0f); angle = vec3(0.0f, e.rotation, 0.0f);