Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-26 15:44:17 +0000
committerStijn Buys <ingar@osirion.org>2008-07-26 15:44:17 +0000
commitad4b28abd9a545bebaf4dd77cb6a13863ace9843 (patch)
treeffd2bc35b18f782166eb5118cd3a1dfe2536c073 /src/core
parenta9022ae546f92e93c87a08bb18f4c09f815db866 (diff)
make statefull engine trails
Diffstat (limited to 'src/core')
-rw-r--r--src/core/clientstate.cc1
-rw-r--r--src/core/clientstate.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/clientstate.cc b/src/core/clientstate.cc
index 503a71f..8e6606d 100644
--- a/src/core/clientstate.cc
+++ b/src/core/clientstate.cc
@@ -21,6 +21,7 @@ ClientState::ClientState()
state_screenlocation[i] = 0;
state_fuzz = math::randomf();
+ state_engine_trail_offset = 0;
}
ClientState::ClientState(Entity *entity)
diff --git a/src/core/clientstate.h b/src/core/clientstate.h
index 87dd1d7..91cd3e1 100644
--- a/src/core/clientstate.h
+++ b/src/core/clientstate.h
@@ -65,6 +65,7 @@ public:
bool state_targetable;
float state_fuzz;
+ float state_engine_trail_offset;
size_t state_enginesound;
};