mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02: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