mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02:00
minor fix
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user