mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Preload sitting animation
This commit is contained in:
parent
893a5b1b18
commit
eab2c314d8
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@
|
|||
this.lastTimeNoDriveKeys = null;
|
||||
this.sittingDown = false;
|
||||
|
||||
// Preload the animation file
|
||||
this.animation = AnimationCache.prefetch(ANIMATION_URL);
|
||||
|
||||
this.preload = function(entityID) {
|
||||
this.entityID = entityID;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue