diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-02-16 10:02:05 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-02-16 10:02:05 -0500 |
commit | a34396730c8d993fea84a454690bd13ea9a9b403 (patch) | |
tree | 5f226ee45acaa7070a1bb821df3320e907a9ecb2 /src/simulation.cpp | |
parent | 8ffb27ab09ff567a159e5be5a243fd3967084977 (diff) | |
download | dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.tar.gz dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.tar.bz2 dispatcher-a34396730c8d993fea84a454690bd13ea9a9b403.zip |
Started implementing pushing, but not really
Diffstat (limited to 'src/simulation.cpp')
-rw-r--r-- | src/simulation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation.cpp b/src/simulation.cpp index 3079f56..7dfc83c 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp | |||
@@ -12,7 +12,7 @@ void Simulation::tick( | |||
12 | Entity& entity = entities_.at(id); | 12 | Entity& entity = entities_.at(id); |
13 | 13 | ||
14 | // Control | 14 | // Control |
15 | if (entity.player && | 15 | if (entity.controllable && |
16 | !entity.moving) | 16 | !entity.moving) |
17 | { | 17 | { |
18 | if (keystate[SDL_SCANCODE_LEFT] && | 18 | if (keystate[SDL_SCANCODE_LEFT] && |